repos/fixes

This commit is contained in:
Marc Beninca 2024-08-27 21:59:01 +02:00
parent 01688a562b
commit 6f57231f9c
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -788,7 +788,6 @@ spcd_step__packages_set_repositories() {
;; ;;
"8") "8")
set -- \ set -- \
"" \
"-ha" \ "-ha" \
"-nfv" \ "-nfv" \
"-plus" \ "-plus" \
@ -796,7 +795,8 @@ spcd_step__packages_set_repositories() {
"-resilientstorage" \ "-resilientstorage" \
"-rt" \ "-rt" \
"-sap" \ "-sap" \
"-saphana" "-saphana" \
""
;; ;;
*) ;; *) ;;
esac esac
@ -827,11 +827,12 @@ deb ${SPCD_URL_DEBIAN}-security ${SPCD_OS_VERSION}-security main
" "
;; ;;
"${SPCD_OS_FEDORA}") "${SPCD_OS_FEDORA}")
for spcd_spr__file in \ set -- \
"fedora" \ "-updates-testing" \
"fedora-updates" \ "-updates" \
"fedora-updates-testing"; do ""
spcd_os_sed "/etc/yum.repos.d/${spcd_spr__file}.repo" \ for spcd_spr__file in "${@}"; do
spcd_os_sed "/etc/yum.repos.d/fedora${spcd_spr__file}.repo" \
"|^metalink|#metalink|" "\ "|^metalink|#metalink|" "\
|http://download.example/pub/fedora/linux|${SPCD_URL_FEDORA}|" \ |http://download.example/pub/fedora/linux|${SPCD_URL_FEDORA}|" \
"|^#baseurl|baseurl|" "|^#baseurl|baseurl|"
@ -865,10 +866,10 @@ deb ${SPCD_URL_DEBIAN}-security ${SPCD_OS_VERSION}-security main
case "${SPCD_OS_VERSION}" in case "${SPCD_OS_VERSION}" in
"9") "9")
set -- \ set -- \
"rocky" \
"rocky-addons" \ "rocky-addons" \
"rocky-devel" \ "rocky-devel" \
"rocky-extras" "rocky-extras" \
"rocky"
;; ;;
"8") "8")
# not Rocky-Media # not Rocky-Media