diff --git a/install.sh b/install.sh index ad3811f..6d1f1dc 100755 --- a/install.sh +++ b/install.sh @@ -129,8 +129,6 @@ if [[ $MODE == "install" ]]; then $MKDIR "$BKP_DIR"/lib $MKDIR "$BKP_DIR"/usr/bin $MKDIR "$BKP_DIR"/usr/lib - $MKDIR "$BKP_DIR"/usr/share - if [[ "$DISTRIBUTION" == "Ubuntu" ]]; then $MKDIR "$BKP_DIR"/usr/share/perl @@ -144,7 +142,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/rsnapshot.global.conf + sed -i "s#/usr/bin/\(cp\|rm\|rsync\|logger\)\$#/opt/bin/\1#" "$BKP_DIR"/etc/rsnapshot.global.conf fi # Create symlink for chroot