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