mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 06:48:07 +00:00
Update basic-install.sh
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
parent
714b6c98ef
commit
36dbdf955d
@ -178,7 +178,7 @@ if command -v apt-get &> /dev/null; then
|
||||
# Supported php is installed, its common, cgi & sqlite counterparts are deps
|
||||
phpInsMajor="$(echo "$phpInsVersion" | cut -d\. -f1)"
|
||||
phpInsMinor="$(echo "$phpInsVersion" | cut -d\. -f2)"
|
||||
phpVer="php$phpInsMajor.phpInsMinor"
|
||||
phpVer="php$phpInsMajor.$phpInsMinor"
|
||||
fi
|
||||
# We also need the correct version for `php-sqlite` (which differs across distros)
|
||||
if ${PKG_MANAGER} install --dry-run ${phpVer}-sqlite3 > /dev/null 2>&1; then
|
||||
|
Loading…
Reference in New Issue
Block a user