icingaweb2: Also detect /etc/centos-release for testing

This commit is contained in:
Markus Frosch 2017-11-17 14:36:54 +01:00
parent 26424dd6aa
commit b1f87b3433

View File

@ -2,7 +2,7 @@
# this script runs in the rpm_test environment
# Install SCL on CentOS
if grep -q 'ID="centos"' /etc/os-release; then
if [ -f /etc/centos-release ] || grep -q 'ID="centos"' /etc/os-release; then
sudo yum install -y centos-release-scl
fi