Signed-off-by: Rob Gill <rrobgill@protonmail.com>
pull/2220/head
Rob Gill 6 years ago committed by GitHub
parent 36dbdf955d
commit 13b8e1a2ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -166,7 +166,7 @@ if command -v apt-get &> /dev/null; then
echo -e " ${INFO} Existing PHP installation detected : PHP version $phpInsVersion"
fi
# 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
if ${PKG_MANAGER} install --dry-run php > /dev/null 2>&1; then
phpVer="php"

Loading…
Cancel
Save