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-06-14 01:58:10 +0300
committerChristian König <ckoenig@posteo.de>2022-06-14 01:58:10 +0300
commit4b674ecfe3c6c2ab0c44a69285b17e709ee9c7b5 (patch)
treec027f5ecaf53bfe82e1aeb554e4f1c85cbca0000
parent5818f3f997207f73eeeefa8ceda6f92b170ae612 (diff)
Fix first install
Signed-off-by: Christian König <ckoenig@posteo.de>
-rwxr-xr-xautomated install/basic-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh
index 9186eee2..0c5c21ce 100755
--- a/automated install/basic-install.sh
+++ b/automated install/basic-install.sh
@@ -298,7 +298,7 @@ package_manager_detect() {
# Update package cache
update_package_cache || exit 1
# Check for and determine version number (major and minor) of current php install
- local phpVer
+ local phpVer="php"
if is_command php ; then
phpVer="$(php -v 2> /dev/null | head -n1 | cut -d '-' -f1 | cut -d ' ' -f2)"
# Check if the first character of the string is numeric