diff --git a/readme.md b/readme.md index 66a9f09..79f2870 100644 --- a/readme.md +++ b/readme.md @@ -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 | diff --git a/spcd.sh b/spcd.sh index 7151651..9772ac3 100644 --- a/spcd.sh +++ b/spcd.sh @@ -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"