fix: URL of openSUSE Leap 16.0 ISO URL (#1777)

* fix: URL of openSUSE Leap 16.0 ISO URL

The fallback else case didn't work for OpenSUSE Leap 16.
This commit is contained in:
Rémi Palancher 2025-12-12 15:02:02 +01:00 committed by GitHub
parent 703fe861f8
commit 402ce97451
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -2316,6 +2316,9 @@ function get_opensuse() {
elif [ "${RELEASE}" == 15.0 ] || [ "${RELEASE}" == 15.1 ]; then
ISO="openSUSE-Leap-${RELEASE}-DVD-x86_64.iso"
URL="https://download.opensuse.org/distribution/leap/${RELEASE}/iso"
elif [ "${RELEASE}" == 16.0 ]; then
ISO="Leap-${RELEASE}-offline-installer-x86_64.install.iso"
URL="https://download.opensuse.org/distribution/leap/${RELEASE}/offline"
else
ISO="openSUSE-Leap-${RELEASE}-DVD-x86_64-Current.iso"
URL="https://download.opensuse.org/distribution/leap/${RELEASE}/iso"