From 95e5baa967baeef799f4cba5163ca93ef32e8bd8 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Sun, 24 Dec 2017 13:09:45 +0000 Subject: [PATCH] Source setup vars before we attempt to do anything on an update/repair Signed-off-by: Adam Warner --- automated install/basic-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 832fd77b..1cb690d5 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -2032,12 +2032,12 @@ main() { # Install and log everything to a file installPihole | tee ${tmpLog} else + # Source ${setupVars} to use predefined user variables in the functions + source ${setupVars} + # Clone/Update the repos clone_or_update_repos - # Source ${setupVars} for use in the rest of the functions - source ${setupVars} - # Install packages used by the Pi-hole if [[ "${INSTALL_WEB}" == true ]]; then # Install the Web dependencies