mirror of
https://git.icinga.com/packaging/rpm-icingaweb2.git
synced 2025-09-23 10:08:05 +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
|
||||
|
||||
# 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user