Skip to content

Commit

Permalink
Add rsync dependency for Debian distros
Browse files Browse the repository at this point in the history
  • Loading branch information
billz committed Dec 12, 2023
1 parent 581622e commit 14f3a4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions installers/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
}

Expand Down

0 comments on commit 14f3a4d

Please sign in to comment.