mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-26 17:20:15 +00:00
Merge pull request #4788 from pi-hole/SKIP_INSTALL
Rename PH_TEST to SKIP_INSTALL
This commit is contained in:
commit
8e4adb6e39
14 changed files with 16 additions and 15 deletions
|
@ -2864,6 +2864,7 @@ main() {
|
|||
fi
|
||||
}
|
||||
|
||||
if [[ "${PH_TEST}" != true ]] ; then
|
||||
# allow to source this script without running it
|
||||
if [[ "${SKIP_INSTALL}" != true ]] ; then
|
||||
main "$@"
|
||||
fi
|
||||
|
|
|
@ -36,7 +36,7 @@ else
|
|||
fi
|
||||
|
||||
readonly PI_HOLE_FILES_DIR="/etc/.pihole"
|
||||
PH_TEST="true"
|
||||
SKIP_INSTALL="true"
|
||||
source "${PI_HOLE_FILES_DIR}/automated install/basic-install.sh"
|
||||
# setupVars set in basic-install.sh
|
||||
source "${setupVars}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue