From 14f3a4dc091fb3c663dc7a4164135b83c8ffd851 Mon Sep 17 00:00:00 2001 From: billz Date: Tue, 12 Dec 2023 17:18:25 +0000 Subject: [PATCH] Add rsync dependency for Debian distros --- installers/common.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/installers/common.sh b/installers/common.sh index 4457ea24..479eb91b 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -234,7 +234,8 @@ function _install_dependencies() { if [ ${OS,,} = "debian" ] || [ ${OS,,} = "ubuntu" ]; then dhcpcd_package="dhcpcd5" iw_package="iw" - echo "${dhcpcd_package} and ${iw_package} will be installed from the main deb sources list" + rsync_package="rsync" + echo "${dhcpcd_package}, ${iw_package} and ${rsync_package} will be installed from the main deb sources list" fi if [ ${OS,,} = "raspbian" ] && [[ ${RELEASE} =~ ^(12) ]]; then dhcpcd_package="dhcpcd dhcpcd-base" @@ -248,7 +249,7 @@ function _install_dependencies() { # Set dconf-set-selections echo iptables-persistent iptables-persistent/autosave_v4 boolean true | sudo debconf-set-selections echo iptables-persistent iptables-persistent/autosave_v6 boolean true | sudo debconf-set-selections - sudo apt-get install -y lighttpd git hostapd dnsmasq iptables-persistent $php_package $dhcpcd_package $iw_package $network_tools vnstat qrencode jq isoquery || _install_status 1 "Unable to install dependencies" + sudo apt-get install -y lighttpd git hostapd dnsmasq iptables-persistent $php_package $dhcpcd_package $iw_package $rsync_package $network_tools vnstat qrencode jq isoquery || _install_status 1 "Unable to install dependencies" _install_status 0 }