From 3da7bf5bed0ddc0703fe39b2e0111f89aa74723a Mon Sep 17 00:00:00 2001 From: Promofaux Date: Mon, 31 Oct 2016 20:02:58 +0000 Subject: [PATCH] Unrelated change. Check for and install Dependencies AFTER whiptail dialogs. --- automated install/basic-install.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index c299e0ea..74091a8b 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -984,9 +984,6 @@ main() { # Install packages used by this installation script install_dependent_packages INSTALLER_DEPS[@] - # Install packages used by the Pi-hole - install_dependent_packages PIHOLE_DEPS[@] - if [[ "${reconfigure}" == true ]]; then echo "::: --reconfigure passed to install script. Not downloading/updating local repos" else @@ -1013,9 +1010,15 @@ main() { use4andor6 # Decide what upstream DNS Servers to use setDNS + + # Install packages used by the Pi-hole + install_dependent_packages PIHOLE_DEPS[@] + # Install and log everything to a file installPihole | tee ${tmpLog} else + # Install packages used by the Pi-hole + install_dependent_packages PIHOLE_DEPS[@] updatePihole | tee ${tmpLog} fi