adding openSUSE MicroOS only

This commit is contained in:
Attila Pinter 2021-10-18 18:30:06 +07:00 committed by Martin Wimpress
parent a421c65351
commit f33892c62d
2 changed files with 14 additions and 4 deletions

View file

@ -39,7 +39,8 @@ function releases_opensuse(){
15_1 \
15_2 \
15_3 \
tumbleweed
tumbleweed \
microos
}
function releases_macos() {
@ -507,7 +508,7 @@ function get_opensuse() {
local VERSION=""
case ${RELEASE} in
15_0|15_1|15_2|15_3|tumbleweed) VERSION=${RELEASE//_/.};;
15_0|15_1|15_2|15_3|tumbleweed|microos) VERSION=${RELEASE//_/.};;
*)
echo "ERROR! openSUSE ${RELEASE} is not a supported release."
releases_opensuse
@ -518,6 +519,10 @@ function get_opensuse() {
if [ "${VERSION}" == "tumbleweed" ]; then
ISO="openSUSE-Tumbleweed-DVD-x86_64-Current.iso"
URL="${DL_BASE}/tumbleweed/iso/${ISO}"
elif
[ "${VERSION}" == "microos" ]; then
ISO="openSUSE-MicroOS-DVD-x86_64-Current.iso"
URL="${DL_BASE}/tumbleweed/iso/${ISO}"
else
ISO="openSUSE-Leap-${VERSION}-DVD-x86_64.iso"
URL="${DL_BASE}/distribution/leap/${VERSION}/iso/${ISO}"