Add upgrade progress status message
This commit is contained in:
parent
9c9eb7b98a
commit
52d0a17cae
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue