Updated to allow installer to run on 16.04 LTS

This commit is contained in:
Myles Gray 2016-06-01 22:03:09 +01:00
parent c03268707a
commit 2369197f8f

View file

@ -548,7 +548,7 @@ checkForDependencies() {
echo ":::"
echo "::: Checking dependencies:"
dependencies=( dnsutils bc dnsmasq lighttpd php5-common php5-cgi php5 git curl unzip wget )
dependencies=( dnsutils bc dnsmasq lighttpd php-common php-cgi php git curl unzip wget )
for i in "${dependencies[@]}"; do
echo -n "::: Checking for $i..."
if [ "$(dpkg-query -W -f='${Status}' "$i" 2>/dev/null | grep -c "ok installed")" -eq 0 ]; then