Added check for rsync as well for requirements

This commit is contained in:
Eric Renfro 2023-09-22 10:49:24 -04:00
parent feab5a82fa
commit 74a0096bbc
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -11,6 +11,11 @@ hook_check() {
echo "aptitude needs to be installed for backups to work properly."
exit 1
fi
if ! is_bin_in_path rsync; then
echo "rsync needs to be installed for backups to work properly."
exit 1
fi
}
hook_pre() {