mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-02-20 10:16:51 +00:00
fix php-sqlite package check
This commit is contained in:
parent
c5adfd2c6e
commit
d498e01042
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ if [ -x "$(command -v apt-get)" ];then
|
|||
#Decide if php should be `php5` or just `php` (Fixes issues with Ubuntu 16.04 LTS)
|
||||
phpVer="php5"
|
||||
phpSqliteVer="php5-sqlite"
|
||||
apt-get install --dry-run php5 > /dev/null 2>&1 || phpVer="php"
|
||||
apt-get install --dry-run php-sqlite3 > /dev/null 2>&1 || phpSqliteVer="php-sqlite3"
|
||||
apt-get install --dry-run ${phpVer} > /dev/null 2>&1 || phpVer="php"
|
||||
apt-get install --dry-run ${phpSqliteVer} > /dev/null 2>&1 || phpSqliteVer="php-sqlite3"
|
||||
#############################################
|
||||
PKG_MANAGER="apt-get"
|
||||
PKG_CACHE="/var/lib/apt/lists/"
|
||||
|
|
Loading…
Add table
Reference in a new issue