From b0ae954f1eae4d21ce976020d69d3d10022ff095 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Sat, 11 Mar 2017 12:37:36 -0800 Subject: [PATCH] Only update when `update` flag is set to "true" Signed-off-by: Dan Schaper --- advanced/Scripts/piholeCheckout.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Scripts/piholeCheckout.sh b/advanced/Scripts/piholeCheckout.sh index fe46d413..3b7abbef 100644 --- a/advanced/Scripts/piholeCheckout.sh +++ b/advanced/Scripts/piholeCheckout.sh @@ -189,7 +189,7 @@ checkout() fi # Force updating everything - if [[ ! "${1}" == "web" && "${update}" ]]; then + if [[ ! "${1}" == "web" && "${update}" == "true" ]]; then echo "::: Running installer to upgrade your installation" if "${PI_HOLE_FILES_DIR}/automated install/basic-install.sh" --unattended; then exit 0