1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

No need to source setupVars, as basic-install.sh is sourced, which sources setupVars itself. Sourception.

This commit is contained in:
Promofaux 2017-02-05 19:29:56 +00:00
parent 1206dda347
commit 10a30344e5

View File

@ -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