mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Add rsync dependency for Debian distros
This commit is contained in:
		| @@ -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 | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user