Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian König <ckoenig@posteo.de>2022-07-06 23:51:39 +0300
committerChristian König <ckoenig@posteo.de>2022-07-06 23:53:09 +0300
commit0a8761ee68c4d6b79201d52793dd4d1aefe60e7e (patch)
tree8455d23d28f59d4a4d25594d4e3313e5829a34f1 /automated install
parent3d4476c9fb37001600fb648e085700da8464575e (diff)
Rename PH_TEST to SKIP_INSTALL
Signed-off-by: Christian König <ckoenig@posteo.de>
Diffstat (limited to 'automated install')
-rwxr-xr-xautomated install/basic-install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh
index 9680e9f9..91f7f392 100755
--- a/automated install/basic-install.sh
+++ b/automated install/basic-install.sh
@@ -2860,6 +2860,8 @@ main() {
fi
}
-if [[ "${PH_TEST}" != true ]] ; then
+# allow to source this script without running it
+# used in docker-pihole and webpage.sh
+if [[ "${SKIP_INSTALL}" != true ]] ; then
main "$@"
fi