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

View File

@ -6,7 +6,7 @@ fi
set -eu set -eu
set -o pipefail 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. # Centos has "epel-release" in extras, which is default enabled.
${YUM} install -y epel-release ${YUM} install -y epel-release
else else