CentOS Stream 9 has EPEL now

Change-Id: I13131f8f4b668d01661a57d918da1bfdb69a0584
This commit is contained in:
Marcin Juszkiewicz 2022-04-07 09:00:44 +02:00
parent 94fab70e58
commit 64bdd24e4e
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ fi
set -eu
set -o pipefail
if [[ (${DISTRO_NAME} =~ "centos" || ${DISTRO_NAME} =~ "rocky") && "${DIB_RELEASE%-stream}" -lt '9' ]]; then
if [[ (${DISTRO_NAME} =~ "centos" || ${DISTRO_NAME} =~ "rocky") ]]; then
# Centos has "epel-release" in extras, which is default enabled.
${YUM} install -y epel-release
else