mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
codacy
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
parent
7181d7ae6a
commit
714b6c98ef
1 changed files with 2 additions and 2 deletions
|
@ -176,8 +176,8 @@ if command -v apt-get &> /dev/null; then
|
|||
fi
|
||||
else
|
||||
# Supported php is installed, its common, cgi & sqlite counterparts are deps
|
||||
phpInsMajor="$(echo $phpInsVer | cut -d\. -f1)"
|
||||
phpInsMinor="$(echo $phpInsVer | cut -d\. -f2)"
|
||||
phpInsMajor="$(echo "$phpInsVersion" | cut -d\. -f1)"
|
||||
phpInsMinor="$(echo "$phpInsVersion" | cut -d\. -f2)"
|
||||
phpVer="php$phpInsMajor.phpInsMinor"
|
||||
fi
|
||||
# We also need the correct version for `php-sqlite` (which differs across distros)
|
||||
|
|
Loading…
Reference in a new issue