Domain check only needed if app has web ui
This commit is contained in:
parent
b8d3f08437
commit
57ab82d129
|
@ -703,12 +703,11 @@ if [[ "$app_php" == 'yes' ]]; then
|
|||
echo ''
|
||||
fi
|
||||
|
||||
echo " if [ ! \"\$${app_name_upper}_DOMAIN_NAME\" ]; then"
|
||||
echo " echo \$'No domain name was given'"
|
||||
echo ' exit 3568356'
|
||||
echo ' fi'
|
||||
|
||||
if [ $app_webui ]; then
|
||||
echo " if [ ! \"\$${app_name_upper}_DOMAIN_NAME\" ]; then"
|
||||
echo " echo \$'No domain name was given'"
|
||||
echo ' exit 3568356'
|
||||
echo ' fi'
|
||||
echo ''
|
||||
echo " if [ -d \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\" ]; then"
|
||||
echo " rm -rf \"/var/www/\$${app_name_upper}_DOMAIN_NAME/htdocs\""
|
||||
|
|
Loading…
Reference in New Issue