mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
quotes.
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
parent
36dbdf955d
commit
13b8e1a2ae
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ if command -v apt-get &> /dev/null; then
|
||||||
echo -e " ${INFO} Existing PHP installation detected : PHP version $phpInsVersion"
|
echo -e " ${INFO} Existing PHP installation detected : PHP version $phpInsVersion"
|
||||||
fi
|
fi
|
||||||
# Check if installed php is supported version (5.4 is EOL)
|
# Check if installed php is supported version (5.4 is EOL)
|
||||||
if [[ $phpInsVersion < "5.5" ]]; then
|
if [[ "$phpInsVersion" < "5.5" ]]; then
|
||||||
# Prefer the php metapackage if it's there
|
# Prefer the php metapackage if it's there
|
||||||
if ${PKG_MANAGER} install --dry-run php > /dev/null 2>&1; then
|
if ${PKG_MANAGER} install --dry-run php > /dev/null 2>&1; then
|
||||||
phpVer="php"
|
phpVer="php"
|
||||||
|
|
Loading…
Reference in a new issue