mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
add php-json to Fedora web deps
Signed-off-by: bcambl <blayne@blaynecampbell.com>
This commit is contained in:
parent
2bf6b29b8f
commit
fa9ecbdb81
1 changed files with 2 additions and 1 deletions
|
@ -244,7 +244,8 @@ elif command -v rpm &> /dev/null; then
|
||||||
# If the host OS is Fedora,
|
# If the host OS is Fedora,
|
||||||
if grep -qi 'fedora' /etc/redhat-release; then
|
if grep -qi 'fedora' /etc/redhat-release; then
|
||||||
# all required packages should be available by default with the latest fedora release
|
# all required packages should be available by default with the latest fedora release
|
||||||
: # continue
|
# ensure 'php-json' is installed on Fedora (installed as dependency on CentOS7 + Remi repository)
|
||||||
|
PIHOLE_WEB_DEPS+=('php-json')
|
||||||
# or if host OS is CentOS,
|
# or if host OS is CentOS,
|
||||||
elif grep -qi 'centos' /etc/redhat-release; then
|
elif grep -qi 'centos' /etc/redhat-release; then
|
||||||
# Pi-Hole currently supports CentOS 7+ with PHP7+
|
# Pi-Hole currently supports CentOS 7+ with PHP7+
|
||||||
|
|
Loading…
Reference in a new issue