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