From d2ca3f8a5c7d70edb559560688a4e89b13121096 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 13 Dec 2014 13:49:19 +0000 Subject: [PATCH] Quotes --- install-freedombone.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index 1e17686f..c47447dc 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -616,7 +616,8 @@ function create_backup_script { echo " mkdir /home/$MY_USERNAME/tempfiles" >> /usr/bin/$BACKUP_SCRIPT_NAME echo 'fi' >> /usr/bin/$BACKUP_SCRIPT_NAME echo '' >> /usr/bin/$BACKUP_SCRIPT_NAME - echo "DATABASE_PASSWORD=$MARIADB_PASSWORD" >> /usr/bin/$BACKUP_SCRIPT_NAME + echo '# MariaDB password' >> /usr/bin/$BACKUP_SCRIPT_NAME + echo "DATABASE_PASSWORD='$MARIADB_PASSWORD'" >> /usr/bin/$BACKUP_SCRIPT_NAME echo '' >> /usr/bin/$BACKUP_SCRIPT_NAME if grep -Fxq "install_gnu_social" $COMPLETION_FILE; then BACKUP_INCLUDES_DATABASES="yes" @@ -869,7 +870,7 @@ function create_restore_script { echo 'fi' >> /usr/bin/$RESTORE_SCRIPT_NAME echo '' >> /usr/bin/$RESTORE_SCRIPT_NAME echo '# MariaDB password' >> /usr/bin/$RESTORE_SCRIPT_NAME - echo "DATABASE_PASSWORD=$MARIADB_PASSWORD" >> /usr/bin/$RESTORE_SCRIPT_NAME + echo "DATABASE_PASSWORD='$MARIADB_PASSWORD'" >> /usr/bin/$RESTORE_SCRIPT_NAME echo '' >> /usr/bin/$RESTORE_SCRIPT_NAME if [[ $BACKUP_INCLUDES_DATABASES == "yes" ]]; then