From 33f85d5d9303833979cee1a6f07c5a4e7f50fdda Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Sun, 5 Oct 2014 16:23:58 +0200 Subject: [PATCH] Correct initial rsnapshot config adjustment (again) --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c298cc1..d997bdf 100755 --- a/install.sh +++ b/install.sh @@ -144,7 +144,7 @@ if [[ $MODE == "install" ]]; then $CP ./server/bkp/etc/* "$BKP_DIR"/etc/ # Correct command paths in rsnapshot config for Synology DSM if [[ "$DISTRIBUTION" == "Synology" ]]; then - sed -i "s#/usr/bin/\(cp\|rm\|rsync\)\$#/opt/bin/\1#" "$BKP_DIR"/etc/rs-backup/rsnapshot.global.conf + sed -i "s#/usr/bin/\(cp\|rm\|rsync\)\$#/opt/bin/\1#" "$BKP_DIR"/etc/rsnapshot.global.conf fi # Create symlink for chroot