wip/epel
This commit is contained in:
parent
048a84c0fb
commit
1b0c934fee
1 changed files with 4 additions and 4 deletions
|
@ -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|"
|
||||
;;
|
||||
*) ;;
|
||||
|
|
Loading…
Reference in a new issue