Add upgrade progress status message

This commit is contained in:
Janek Bevendorff 2016-11-17 01:58:44 +01:00
parent 9c9eb7b98a
commit 52d0a17cae
1 changed files with 1 additions and 0 deletions

View File

@ -179,6 +179,7 @@ if [[ $MODE == "install" ]]; then
fi
else
# Update command paths if upgrading from earlier version
echo "Updating cp and rm command paths..."
sed -i "#/opt/bin/cp\$#/usr/bin/cp#" "$BKP_DIR"/etc/rsnapshot.global.conf
sed -i "#/opt/bin/rm\$#/usr/bin/rs-rm#" "$BKP_DIR"/etc/rsnapshot.global.conf
fi