opensuse/pm/repos

This commit is contained in:
Marc Beninca 2024-08-20 13:08:15 +02:00
parent 832e5c180c
commit ae2a24a9c8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

13
spcd.sh
View file

@ -524,6 +524,19 @@ deb ${SPCD_URL_CHOSEN} ${SPCD_OS_VERSION}-updates main
deb ${SPCD_URL_CHOSEN}-security ${SPCD_OS_VERSION}-security main deb ${SPCD_URL_CHOSEN}-security ${SPCD_OS_VERSION}-security main
" "
;; ;;
"${SPCD_OS_OPENSUSE}")
for spcd_spr__file in \
"backports-update" \
"non-oss" \
"oss" \
"sle-update" \
"update-non-oss" \
"update" \
"openh264"; do
spcd_sed "/etc/zypp/repos.d/repo-${spcd_spr__file}.repo" \
"|${SPCD_URL_DEFAULT}|${SPCD_URL_CHOSEN}|"
done
;;
"${SPCD_OS_ROCKY}") "${SPCD_OS_ROCKY}")
case "${SPCD_OS_VERSION}" in case "${SPCD_OS_VERSION}" in
"8") spcd_spr__file="/etc/yum.repos.d/Rocky-BaseOS.repo" ;; "8") spcd_spr__file="/etc/yum.repos.d/Rocky-BaseOS.repo" ;;