From b5c7b28445a131db316cd7f76ab91471a27e6f90 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 23 Dec 2015 11:22:29 +0000 Subject: [PATCH] Include wget --- src/freedombone | 2 +- src/freedombone-backup-remote | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone b/src/freedombone index bde84741..7c455f50 100755 --- a/src/freedombone +++ b/src/freedombone @@ -3176,7 +3176,7 @@ function initial_setup { apt-get -y remove --purge apache* apt-get -y dist-upgrade apt-get -y install ca-certificates emacs24 cpulimit - apt-get -y install cryptsetup libgfshare-bin obnam sshpass + apt-get -y install cryptsetup libgfshare-bin obnam sshpass wget echo 'initial_setup' >> $COMPLETION_FILE } diff --git a/src/freedombone-backup-remote b/src/freedombone-backup-remote index 6d6f9056..9a66a81b 100755 --- a/src/freedombone-backup-remote +++ b/src/freedombone-backup-remote @@ -602,7 +602,7 @@ do done if [[ $TEST_MODE == "yes" ]]; then - echo "rsync -ratlzv --rsh=\"/usr/bin/sshpass -p \"$REMOTE_PASSWORD\" ssh -p $REMOTE_SSH_PORT -o StrictHostKeyChecking=no\" $SERVER_DIRECTORY/backup $REMOTE_SERVER" + echo "rsync -ratlzv --rsh=\"/usr/bin/sshpass -p '$REMOTE_PASSWORD' ssh -p $REMOTE_SSH_PORT -o StrictHostKeyChecking=no\" $SERVER_DIRECTORY/backup $REMOTE_SERVER" fi rsync -ratlzv --rsh="/usr/bin/sshpass -p \"$REMOTE_PASSWORD\" ssh -p $REMOTE_SSH_PORT -o StrictHostKeyChecking=no" $SERVER_DIRECTORY/backup $REMOTE_SERVER if [ ! "$?" = "0" ]; then