From b57cbbbfab486d5752ae4640bbb244a0f029e4da Mon Sep 17 00:00:00 2001 From: Michal Fabik Date: Thu, 12 Dec 2024 15:09:07 +0100 Subject: [PATCH] Enable EPEL repo --- prepare.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/prepare.sh b/prepare.sh index bb24ce7..1c9ff8f 100755 --- a/prepare.sh +++ b/prepare.sh @@ -48,3 +48,10 @@ if [ -n "$ADDITIONAL_TASK_IDS" ]; then mtps-get-task --createrepo --installrepofile --recursive --task="$additional_task_id" --download='/var/lib/repo-for-side-tag' --repofilename=side-tag done fi + +EPEL_RELEASE_PACKAGE="https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm" +ACTION="install" +if [ $(rpm -q epel-release) ]; then + ACTION="reinstall" +fi +dnf -y $ACTION $EPEL_RELEASE_PACKAGE