Merge pull request #2954 from pi-hole/reetP-Patch

Update pihole
This commit is contained in:
Adam Warner 2019-10-06 19:10:05 +01:00 committed by GitHub
commit 2e138eb99f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
pihole
View file

@ -11,8 +11,8 @@
readonly PI_HOLE_SCRIPT_DIR="/opt/pihole" readonly PI_HOLE_SCRIPT_DIR="/opt/pihole"
# setupVars and PI_HOLE_BIN_DIR are not readonly here because in some funcitons (checkout), # setupVars and PI_HOLE_BIN_DIR are not readonly here because in some functions (checkout),
# it might get set again when the installer is sourced. This causes an # they might get set again when the installer is sourced. This causes an
# error due to modifying a readonly variable. # error due to modifying a readonly variable.
setupVars="/etc/pihole/setupVars.conf" setupVars="/etc/pihole/setupVars.conf"
PI_HOLE_BIN_DIR="/usr/local/bin" PI_HOLE_BIN_DIR="/usr/local/bin"