mirror of
https://git.icinga.com/packaging/rpm-icingaweb2.git
synced 2025-09-25 19:09:35 +02:00
icingaweb2: Install SCL before icingaweb2
This commit is contained in:
parent
aed711ee4b
commit
021bb3d7ec
@ -1,13 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# this script runs in the rpm_test environment
|
# this script runs in the rpm_test environment
|
||||||
|
|
||||||
install_package icingaweb2
|
|
||||||
|
|
||||||
# Install SCL on CentOS
|
# Install SCL on CentOS
|
||||||
if grep -q 'ID="centos"' /etc/os-release; then
|
if grep -q 'ID="centos"' /etc/os-release; then
|
||||||
sudo yum install -y centos-scl-release
|
sudo yum install -y centos-scl-release
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
install_package icingaweb2
|
||||||
|
|
||||||
# set timezone for PHP
|
# set timezone for PHP
|
||||||
if [ -d /etc/opt/rh/rh-php71/php.d ]; then
|
if [ -d /etc/opt/rh/rh-php71/php.d ]; then
|
||||||
php_d=/etc/opt/rh/rh-php71/php.d
|
php_d=/etc/opt/rh/rh-php71/php.d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user