From 745adabb05a839c942b0a961e9c77aeaa7292f60 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Sat, 28 Jan 2017 17:38:14 -0800 Subject: [PATCH] Path to source basic-install.sh --- advanced/Scripts/update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced/Scripts/update.sh b/advanced/Scripts/update.sh index 426d3580..1db9cfc9 100755 --- a/advanced/Scripts/update.sh +++ b/advanced/Scripts/update.sh @@ -20,7 +20,7 @@ readonly PI_HOLE_GIT_URL="https://github.com/pi-hole/pi-hole.git" readonly PI_HOLE_FILES_DIR="/etc/.pihole" PH_TEST=true -source ${PI_HOLE_GIT_URL}/automated\ install/basic-install.sh +source ${PI_HOLE_FILES_DIR}/automated\ install/basic-install.sh # is_repo() sourced from basic-install.sh # make_repo() sourced from basic-install.sh @@ -29,7 +29,7 @@ source ${PI_HOLE_GIT_URL}/automated\ install/basic-install.sh GitCheckUpdateAvail() { local directory="${1}" - curdir=$PWD; + curdir=$PWD cd "${directory}" # Fetch latest changes in this repo