From 10a30344e5cd8959c74cb79c52fed33950907dd0 Mon Sep 17 00:00:00 2001 From: Promofaux Date: Sun, 5 Feb 2017 19:29:56 +0000 Subject: [PATCH] No need to source setupVars, as basic-install.sh is sourced, which sources setupVars itself. Sourception. --- advanced/Scripts/update.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/advanced/Scripts/update.sh b/advanced/Scripts/update.sh index eef0ede5..4e1f63a9 100755 --- a/advanced/Scripts/update.sh +++ b/advanced/Scripts/update.sh @@ -18,9 +18,6 @@ readonly ADMIN_INTERFACE_GIT_URL="https://github.com/pi-hole/AdminLTE.git" readonly ADMIN_INTERFACE_DIR="/var/www/html/admin" readonly PI_HOLE_GIT_URL="https://github.com/pi-hole/pi-hole.git" readonly PI_HOLE_FILES_DIR="/etc/.pihole" -INSTALL_WEB="" -readonly SETUP_VARS="/etc/pihole/setupVars.conf" -source ${SETUP_VARS} is_repo() { # Use git to check if directory is currently under VCS, return the value