From cd30a7533efb01f180ae96e3b3833c04ac94b852 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Thu, 29 Sep 2016 09:17:20 +0100 Subject: [PATCH] add php-sqlite3/php5-sqlite dependency --- automated install/basic-install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 6b1eafc7..af946bde 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -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"