This commit is contained in:
Marc Beninca 2024-07-22 20:47:56 +02:00
parent 55ad635b43
commit d2c710bee5
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -611,6 +611,12 @@ spcd_install_packages() {
case "${SPCD_OS_ID}" in
"${SPCD_OS_ALMA}" | "${SPCD_OS_ROCKY}")
spcd_install_package "epel-release"
[ -n "${SPCD_URL_EPEL}" ] && spcd_ip__epel="${SPCD_URL_EPEL}" ||
spcd_ip__epel="https://dl.fedoraproject.org"
spcd_sed "/etc/yum.repos.d/epel.repo" \
"|^mirrorlist|# mirrorlist|" \
"|https://download.example|${spcd_ip__epel}|" \
"|^#baseurl|baseurl|"
;;
*) ;;
esac