mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-02-27 05:28:23 +00:00
add php-sqlite3/php5-sqlite dependency
This commit is contained in:
parent
04277e20ad
commit
cd30a7533e
1 changed files with 3 additions and 1 deletions
|
@ -62,9 +62,11 @@ if [ -x "$(command -v apt-get)" ];then
|
|||
#Debian Family
|
||||
#Decide if php should be `php5` or just `php` (Fixes issues with Ubuntu 16.04 LTS)
|
||||
phpVer="php"
|
||||
sqliteVer="php-sqlite3"
|
||||
apt-cache show php5 &> /dev/null
|
||||
if [ $? == 0 ]; then
|
||||
phpVer="php5"
|
||||
sqliteVer="php5-sqlite"
|
||||
fi
|
||||
#############################################
|
||||
PKG_MANAGER="apt-get"
|
||||
|
@ -74,7 +76,7 @@ if [ -x "$(command -v apt-get)" ];then
|
|||
PKG_INSTALL="$PKG_MANAGER --yes --quiet install"
|
||||
PKG_COUNT="$PKG_MANAGER -s -o Debug::NoLocking=true upgrade | grep -c ^Inst"
|
||||
INSTALLER_DEPS=( apt-utils whiptail dhcpcd5)
|
||||
PIHOLE_DEPS=( dnsutils bc dnsmasq lighttpd ${phpVer}-common ${phpVer}-cgi ${phpVer} git curl unzip wget sudo netcat cron iproute2 sqlite3 )
|
||||
PIHOLE_DEPS=( dnsutils bc dnsmasq lighttpd ${phpVer}-common ${phpVer}-cgi ${phpVer} git curl unzip wget sudo netcat cron iproute2 sqlite3 ${sqliteVer} )
|
||||
LIGHTTPD_USER="www-data"
|
||||
LIGHTTPD_GROUP="www-data"
|
||||
LIGHTTPD_CFG="lighttpd.conf.debian"
|
||||
|
|
Loading…
Add table
Reference in a new issue