url/opensuse
This commit is contained in:
parent
0d62aab505
commit
01688a562b
1 changed files with 16 additions and 3 deletions
|
@ -637,6 +637,10 @@ spcd_step__environment_defaults() {
|
||||||
# /updates/testing/$releasever/Everything/…
|
# /updates/testing/$releasever/Everything/…
|
||||||
SPCD_URL_FEDORA="https://rpmfind.net/linux/fedora/linux"
|
SPCD_URL_FEDORA="https://rpmfind.net/linux/fedora/linux"
|
||||||
[ -n "${SPCD_URL_OPENSUSE}" ] ||
|
[ -n "${SPCD_URL_OPENSUSE}" ] ||
|
||||||
|
# /debug/…
|
||||||
|
# /distribution/…
|
||||||
|
# /source/…
|
||||||
|
# /update/…
|
||||||
SPCD_URL_OPENSUSE="https://download.opensuse.org"
|
SPCD_URL_OPENSUSE="https://download.opensuse.org"
|
||||||
[ -n "${SPCD_URL_PYTHON}" ] ||
|
[ -n "${SPCD_URL_PYTHON}" ] ||
|
||||||
SPCD_URL_PYTHON="https://pypi.org/simple"
|
SPCD_URL_PYTHON="https://pypi.org/simple"
|
||||||
|
@ -836,17 +840,26 @@ deb ${SPCD_URL_DEBIAN}-security ${SPCD_OS_VERSION}-security main
|
||||||
"|^enabled=1|# enabled=0|"
|
"|^enabled=1|# enabled=0|"
|
||||||
;;
|
;;
|
||||||
"${SPCD_OS_OPENSUSE}")
|
"${SPCD_OS_OPENSUSE}")
|
||||||
for spcd_spr__file in \
|
set -- \
|
||||||
|
"backports-debug-update" \
|
||||||
"backports-update" \
|
"backports-update" \
|
||||||
|
"debug-non-oss" \
|
||||||
|
"debug-update-non-oss" \
|
||||||
|
"debug-update" \
|
||||||
|
"debug" \
|
||||||
"non-oss" \
|
"non-oss" \
|
||||||
"oss" \
|
"oss" \
|
||||||
|
"sle-debug-update" \
|
||||||
"sle-update" \
|
"sle-update" \
|
||||||
|
"source" \
|
||||||
"update-non-oss" \
|
"update-non-oss" \
|
||||||
"update" \
|
"update"
|
||||||
"openh264"; do
|
for spcd_spr__file in "${@}"; do
|
||||||
spcd_os_sed "/etc/zypp/repos.d/repo-${spcd_spr__file}.repo" \
|
spcd_os_sed "/etc/zypp/repos.d/repo-${spcd_spr__file}.repo" \
|
||||||
"|http://download.opensuse.org|${SPCD_URL_OPENSUSE}|"
|
"|http://download.opensuse.org|${SPCD_URL_OPENSUSE}|"
|
||||||
done
|
done
|
||||||
|
spcd_os_sed "/etc/zypp/repos.d/repo-openh264.repo" \
|
||||||
|
"|^enabled=1|# enabled=0|"
|
||||||
;;
|
;;
|
||||||
"${SPCD_OS_ROCKY}")
|
"${SPCD_OS_ROCKY}")
|
||||||
case "${SPCD_OS_VERSION}" in
|
case "${SPCD_OS_VERSION}" in
|
||||||
|
|
Loading…
Reference in a new issue