pull/1182/head
Promofaux 7 years ago
parent ba0abdb88d
commit b764d17c64

@ -18,8 +18,9 @@ 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"
source /etc/pihole/setupVars.conf
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
@ -205,7 +206,8 @@ main() {
echo "*** Update script has malfunctioned, fallthrough reached. Please contact support"
exit 1
fi
else
else # Web Admin not installed, so only verify if core is up to date
if ! ${core_update}; then
echo ":::"
@ -233,8 +235,6 @@ main() {
echo "::: If you had made any changes in '/etc/.pihole/', they have been stashed using 'git stash'"
fi
echo ""
exit 0

Loading…
Cancel
Save