From 603ec997baa355396ea2d7b0bf358126891e5b26 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Wed, 2 Nov 2016 12:09:33 -0700 Subject: [PATCH] Remove testing block. --- advanced/Scripts/update.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/advanced/Scripts/update.sh b/advanced/Scripts/update.sh index 9b17168b..008f257f 100644 --- a/advanced/Scripts/update.sh +++ b/advanced/Scripts/update.sh @@ -82,11 +82,11 @@ main() { local web_version_current local web_version_latest -# if ! is_repo "${PI_HOLE_FILES_DIR}" || ! is_repo "${ADMIN_INTERFACE_DIR}" ; then #This is unlikely -# echo "::: Critical Error: One or more Pi-Hole repos are missing from system!" -# echo "::: Please re-run install script from https://github.com/pi-hole/pi-hole" -# exit 1; -# fi + if ! is_repo "${PI_HOLE_FILES_DIR}" || ! is_repo "${ADMIN_INTERFACE_DIR}" ; then #This is unlikely + echo "::: Critical Error: One or more Pi-Hole repos are missing from system!" + echo "::: Please re-run install script from https://github.com/pi-hole/pi-hole" + exit 1; + fi echo "::: Checking for updates..." # Checks Pi-hole version string in format vX.X.X