mirror of
https://git.icinga.com/packaging/rpm-icingaweb2.git
synced 2025-09-23 18:17:53 +02:00
icingaweb2: Also detect /etc/centos-release for testing
This commit is contained in:
parent
26424dd6aa
commit
b1f87b3433
@ -2,7 +2,7 @@
|
|||||||
# this script runs in the rpm_test environment
|
# this script runs in the rpm_test environment
|
||||||
|
|
||||||
# Install SCL on CentOS
|
# 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
|
sudo yum install -y centos-release-scl
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user