From 74a0096bbcdd2f32e52964deed6d664af9eab98e Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Fri, 22 Sep 2023 10:49:24 -0400 Subject: [PATCH] Added check for rsync as well for requirements --- scripts/os_debian | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/os_debian b/scripts/os_debian index a999bde..a1e30cd 100755 --- a/scripts/os_debian +++ b/scripts/os_debian @@ -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() {