Fix OpenSuse Leap 16.0 Not yet available
This commit is contained in:
parent
db2cd30e6e
commit
cad8568a68
|
|
@ -7,8 +7,13 @@ DESCRIPTION="The makers choice for sysadmins, developers and desktop users"
|
||||||
CREDENTIALS="-"
|
CREDENTIALS="-"
|
||||||
|
|
||||||
function releases_() {
|
function releases_() {
|
||||||
#shellcheck disable=SC2046,SC2005
|
# shellcheck disable=SC2046,SC2005
|
||||||
echo $(web_pipe "https://download.opensuse.org/distribution/leap/" | grep 'class="name"' | cut -d '/' -f2 | grep -v 42 | sort -r) aeon microos tumbleweed
|
# Leap have 16.0 dir but no iso file nor iso dir there
|
||||||
|
if web_pipe "https://download.opensuse.org/distribution/leap/16.0/" | grep -q 'href="iso/"'; then
|
||||||
|
echo $(web_pipe "https://download.opensuse.org/distribution/leap/" | grep 'class="name"' | cut -d '/' -f2 | grep -v 42 | sort -r | tail --lines +2) aeon microos tumbleweed
|
||||||
|
else
|
||||||
|
echo tumbleweed microos aeon 15.6 15.5 15.4 15.3 15.2 15.1 15.0
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_() {
|
function get_() {
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,17 @@ HOMEPAGE="https://www.opensuse.org"
|
||||||
CREDENTIALS="-"
|
CREDENTIALS="-"
|
||||||
|
|
||||||
|
|
||||||
RELEASES="tumbleweed microos aeon 16.0 15.6 15.5 15.4 15.3 15.2 15.1 15.0"
|
RELEASES="tumbleweed microos aeon 15.6 15.5 15.4 15.3 15.2 15.1 15.0"
|
||||||
|
|
||||||
|
|
||||||
function releases_() {
|
function releases_() {
|
||||||
#shellcheck disable=SC2046,SC2005
|
# shellcheck disable=SC2046,SC2005
|
||||||
echo $(web_pipe "https://download.opensuse.org/distribution/leap/" | grep 'class="name"' | cut -d '/' -f2 | grep -v 42 | sort -r) aeon microos tumbleweed
|
# Leap have 16.0 dir but no iso file nor iso dir there
|
||||||
|
if web_pipe "https://download.opensuse.org/distribution/leap/16.0/" | grep -q 'href="iso/"'; then
|
||||||
|
echo $(web_pipe "https://download.opensuse.org/distribution/leap/" | grep 'class="name"' | cut -d '/' -f2 | grep -v 42 | sort -r | tail --lines +2) aeon microos tumbleweed
|
||||||
|
else
|
||||||
|
echo tumbleweed microos aeon 15.6 15.5 15.4 15.3 15.2 15.1 15.0
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_() {
|
function get_() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue