Commit 77432033 authored by Ilya Veselov's avatar Ilya Veselov

fix existing dir

parent f79fb114
......@@ -10,8 +10,15 @@ war_setting () {
chown jboss:synergy $deployments_path/import.war
touch $deployments_path/import.war.dodeploy
mkdir /tmp/crm-import
chmod 777 -R /tmp/crm-import
if ! [-d "$dir"_"$day" ]
then
mkdir /tmp/crm-import
chmod 777 -R /tmp/crm-import
else
echo "Directory crm-import already exists on server"
fi
}
case "$1" in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment