Indentation
This commit is contained in:
parent
2b95fb89c3
commit
b8d3f08437
|
@ -715,34 +715,34 @@ if [ $app_webui ]; then
|
||||||
echo ' fi'
|
echo ' fi'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo " if [ -d /repos/${app_name} ]; then"
|
echo " if [ -d /repos/${app_name} ]; then"
|
||||||
if [ $app_webui ]; then
|
if [ $app_webui ]; then
|
||||||
echo " mkdir \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\""
|
echo " mkdir \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\""
|
||||||
fi
|
fi
|
||||||
if [ ! "$app_dir" ]; then
|
if [ ! "$app_dir" ]; then
|
||||||
echo " cp -r -p /repos/${app_name}/. \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\""
|
echo " cp -r -p /repos/${app_name}/. \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\""
|
||||||
echo " cd \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\" || exit 324687356"
|
echo " cd \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\" || exit 324687356"
|
||||||
else
|
else
|
||||||
echo " cp -r -p /repos/${app_name}/. \"${app_dir}\""
|
echo " cp -r -p /repos/${app_name}/. \"${app_dir}\""
|
||||||
echo " cd \"${app_dir}\" || exit 36487365"
|
echo " cd \"${app_dir}\" || exit 36487365"
|
||||||
fi
|
fi
|
||||||
echo ' git pull'
|
echo ' git pull'
|
||||||
echo ' else'
|
echo ' else'
|
||||||
if [ ! "$app_dir" ]; then
|
if [ ! "$app_dir" ]; then
|
||||||
echo " git_clone \"\$${app_name_upper}_REPO\" \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\""
|
echo " git_clone \"\$${app_name_upper}_REPO\" \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\""
|
||||||
else
|
else
|
||||||
echo " git_clone \"\$${app_name_upper}_REPO\" \"${app_dir}\""
|
echo " git_clone \"\$${app_name_upper}_REPO\" \"${app_dir}\""
|
||||||
fi
|
fi
|
||||||
echo ' fi'
|
echo ' fi'
|
||||||
echo ''
|
echo ''
|
||||||
if [ ! "$app_dir" ]; then
|
if [ ! "$app_dir" ]; then
|
||||||
echo " if [ ! -d \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\" ]; then"
|
echo " if [ ! -d \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\" ]; then"
|
||||||
else
|
else
|
||||||
echo " if [ ! -d \"${app_dir}\" ]; then"
|
echo " if [ ! -d \"${app_dir}\" ]; then"
|
||||||
fi
|
fi
|
||||||
echo " echo \$'Unable to clone ${app_name} repo'"
|
echo " echo \$'Unable to clone ${app_name} repo'"
|
||||||
echo ' exit 87525'
|
echo ' exit 87525'
|
||||||
echo ' fi'
|
echo ' fi'
|
||||||
echo ''
|
echo ''
|
||||||
if [ ! "$app_dir" ]; then
|
if [ ! "$app_dir" ]; then
|
||||||
echo " cd \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\" || exit 36587356"
|
echo " cd \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\" || exit 36587356"
|
||||||
|
|
Loading…
Reference in New Issue