Fix --no-backup-www bug.

This commit is contained in:
Derek Smith 2023-01-07 09:39:20 -05:00
parent 9a419ccc6e
commit 902121a72d
Signed by: farscapian
GPG Key ID: 8F1CD799CCA516CC

View File

@ -40,7 +40,7 @@ for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do
if [ "$RESTORE_WWW" = true ]; then
./restore_path.sh
#ssh "$PRIMARY_WWW_FQDN" sudo chown ubuntu:ubuntu "$REMOTE_HOME/$APP"
else
elif [ "$BACKUP_APPS" = true ]; then
# if we're not restoring, then we may or may not back up.
./backup_path.sh
fi