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
1 changed files with 5 additions and 0 deletions

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() {