mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-24 13:50:17 +00:00
Fix the php version check command (Thanks @diginc!)
This commit is contained in:
parent
78c8723629
commit
6a8bef83b3
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ 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"
|
||||
apt-cache show php5 &> /dev/null
|
||||
${SUDO} apt-get install --dry-run php5 > /dev/null 2>&1
|
||||
if [ $? == 0 ]; then
|
||||
phpVer="php5"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue