From 1b0c934fee0c20bbc3fd3c6392a95f107ed293fa Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 27 Aug 2024 22:26:50 +0200 Subject: [PATCH] wip/epel --- spcd/bootstrap.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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|" ;; *) ;;