From 243a5e49faeee335b7e3ea5762646bf213a71641 Mon Sep 17 00:00:00 2001 From: billz Date: Mon, 4 Dec 2023 16:15:32 +0000 Subject: [PATCH] Install extra networking tools (insiders) --- installers/common.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/installers/common.sh b/installers/common.sh index e7a546597..e8484bffe 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -235,16 +235,19 @@ function _install_dependencies() { iw_package="iw" echo "${dhcpcd_package} and ${iw_package} will be installed from the main deb sources list" fi - if [ ${OS,,} = "raspbian" ] && [[ ${RELEASE} =~ ^(12) ]]; then dhcpcd_package="dhcpcd dhcpcd-base" echo "${dhcpcd_package} will be installed from the main deb sources list" fi + if [ "$insiders" == 1 ]; then + network_tools="curl dnsutils nmap" + echo "${network_tools} will be installed from the main deb sources list" + 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 - sudo apt-get install -y lighttpd git hostapd dnsmasq iptables-persistent $php_package $dhcpcd_package $iw_package 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 $network_tools vnstat qrencode jq isoquery || _install_status 1 "Unable to install dependencies" _install_status 0 }