Skip to content

Commit

Permalink
Enable EPEL repo
Browse files Browse the repository at this point in the history
  • Loading branch information
michalfabik committed Dec 12, 2024
1 parent de3b555 commit b57cbbb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b57cbbb

Please sign in to comment.