Browse Source

Update set dchpcd_package option

pull/537/head
billz 4 years ago
parent
commit
e46929b505
  1. 4
      installers/common.sh

4
installers/common.sh

@ -87,8 +87,12 @@ function install_dependencies() {
set_php_package
if [ "$php_package" = "php7.4-cgi" ]; then
echo "Adding apt-repository ppa:ondrej/php"
sudo apt-get install software-properties-common || install_error "Unable to install dependency"
sudo add-apt-repository ppa:ondrej/php || install_error "Unable to add-apt-repository ppa:ondrej/php"
fi
if [ ${OS,,} = "debian" ] || [ ${OS,,} = "ubuntu" ]; then
dhcpcd_package="dhcpcd5"
fi
# 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

Loading…
Cancel
Save