Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
Rob Gill 2018-06-05 14:45:01 +10:00 committed by GitHub
parent 7181d7ae6a
commit 714b6c98ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,8 +176,8 @@ if command -v apt-get &> /dev/null; then
fi fi
else else
# Supported php is installed, its common, cgi & sqlite counterparts are deps # Supported php is installed, its common, cgi & sqlite counterparts are deps
phpInsMajor="$(echo $phpInsVer | cut -d\. -f1)" phpInsMajor="$(echo "$phpInsVersion" | cut -d\. -f1)"
phpInsMinor="$(echo $phpInsVer | cut -d\. -f2)" phpInsMinor="$(echo "$phpInsVersion" | cut -d\. -f2)"
phpVer="php$phpInsMajor.phpInsMinor" phpVer="php$phpInsMajor.phpInsMinor"
fi fi
# We also need the correct version for `php-sqlite` (which differs across distros) # We also need the correct version for `php-sqlite` (which differs across distros)