opensuse/url/chosen

This commit is contained in:
Marc Beninca 2024-08-20 11:40:16 +02:00
parent aae6c25b6e
commit 9207279dc5
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 5 additions and 1 deletions

View file

@ -60,7 +60,7 @@ from various contexts of CA, CI and OCI / OS.
| SPCD_URL_DEBIAN | Debian repository URL | https://deb.debian.org |
| SPCD_URL_EPEL | EPEL repository URL | https://dl.fedoraproject.org |
| SPCD_URL_FEDORA | Fedora repository URL | https://rpmfind.net |
| SPCD_URL_OPENSUSE | OpenSUSE repository URL | |
| SPCD_URL_OPENSUSE | OpenSUSE repository URL | https://download.opensuse.org |
| SPCD_URL_PYTHON | Python repository URL | https://pypi.org/simple |
| SPCD_URL_ROCKY | Rocky repository URL | https://dl.rockylinux.org |
| SPCD_URL_UBUNTU | Ubuntu repository URL | https://ubuntu.mirrors.ovh.net |

View file

@ -391,6 +391,10 @@ Acquire::https::Verify-Peer False;
[ -n "${SPCD_URL_FEDORA}" ] && SPCD_URL_CHOSEN="${SPCD_URL_FEDORA}" ||
SPCD_URL_CHOSEN="https://rpmfind.net/linux/fedora/linux/releases"
;;
"${SPCD_OS_OPENSUSE}")
[ -n "${SPCD_URL_OPENSUSE}" ] && SPCD_URL_CHOSEN="${SPCD_URL_OPENSUSE}" ||
SPCD_URL_CHOSEN="https://download.opensuse.org"
;;
"${SPCD_OS_ROCKY}")
[ -n "${SPCD_URL_ROCKY}" ] && SPCD_URL_CHOSEN="${SPCD_URL_ROCKY}" ||
SPCD_URL_CHOSEN="https://dl.rockylinux.org/\$contentdir"