Added check for rsync as well for requirements
This commit is contained in:
parent
feab5a82fa
commit
74a0096bbc
1 changed files with 5 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue