mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Add rsync dependency for Debian distros
This commit is contained in:
parent
581622ef0c
commit
14f3a4dc09
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue