mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Merge pull request #734 from pi-hole/phpVerCheckFix
Fix the php version check command (Thanks @diginc!)
This commit is contained in:
commit
722def9362
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