From ad510146a51e461d90716610a80aa9091b80b5cc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 16 Dec 2014 20:58:28 +0000 Subject: [PATCH] Restoring etc/owncloud --- install-freedombone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-freedombone.sh b/install-freedombone.sh index e658a143..b71da49e 100755 --- a/install-freedombone.sh +++ b/install-freedombone.sh @@ -1451,7 +1451,7 @@ function create_restore_script { echo ' exit 981' >> /usr/bin/$RESTORE_SCRIPT_NAME echo ' fi' >> /usr/bin/$RESTORE_SCRIPT_NAME echo " rsyncrypto -v -d -r $USB_MOUNT/backup/owncloud2 /root/tempowncloud2 $USB_MOUNT/backup/owncloud2.keys $BACKUP_CERTIFICATE" >> /usr/bin/$RESTORE_SCRIPT_NAME - echo " cp -r /root/tempowncloud2/usb/backup/owncloud/* /etc/owncloud/" >> /usr/bin/$RESTORE_SCRIPT_NAME + echo " cp -r /root/tempowncloud2/usb/backup/owncloud2/owncloud/* /etc/owncloud/" >> /usr/bin/$RESTORE_SCRIPT_NAME echo ' if [ ! "$?" = "0" ]; then' >> /usr/bin/$RESTORE_SCRIPT_NAME echo " umount $USB_MOUNT" >> /usr/bin/$RESTORE_SCRIPT_NAME echo " rm -rf $USB_MOUNT" >> /usr/bin/$RESTORE_SCRIPT_NAME