diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 6fcce99..96f21a8 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -633,7 +633,9 @@ spcd_step__environment_defaults() { [ -n "${SPCD_URL_DEBIAN}" ] || SPCD_URL_DEBIAN="https://deb.debian.org/debian" [ -n "${SPCD_URL_EPEL}" ] || - SPCD_URL_EPEL="https://dl.fedoraproject.org" + # /$releasever/Everything/… + # /testing/$releasever/Everything/… + SPCD_URL_EPEL="https://dl.fedoraproject.org/pub/epel" [ -n "${SPCD_URL_FEDORA}" ] || # /releases/$releasever/Everything/… # /updates/$releasever/Everything/… @@ -1151,11 +1153,9 @@ spcd_step__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_os_sed "/etc/yum.repos.d/epel.repo" \ "|^metalink|#metalink|" \ - "|https://download.example|${spcd_ip__epel}|" \ + "|https://download.example/pub/epel|${SPCD_URL_EPEL}|" \ "|^#baseurl|baseurl|" ;; *) ;;