mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-19 05:40:13 +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)
|
#Decide if php should be `php5` or just `php` (Fixes issues with Ubuntu 16.04 LTS)
|
||||||
phpVer="php5"
|
phpVer="php5"
|
||||||
phpSqliteVer="php5-sqlite"
|
phpSqliteVer="php5-sqlite"
|
||||||
apt-get install --dry-run php5 > /dev/null 2>&1 || phpVer="php"
|
apt-get install --dry-run ${phpVer} > /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 ${phpSqliteVer} > /dev/null 2>&1 || phpSqliteVer="php-sqlite3"
|
||||||
#############################################
|
#############################################
|
||||||
PKG_MANAGER="apt-get"
|
PKG_MANAGER="apt-get"
|
||||||
PKG_CACHE="/var/lib/apt/lists/"
|
PKG_CACHE="/var/lib/apt/lists/"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue