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