fix: make opensuse releases dynamic and current

This commit is contained in:
Martin Wimpress 2024-04-20 10:25:59 +01:00 committed by Martin Wimpress
parent 0302973278
commit a2c58ea3e5
1 changed files with 2 additions and 1 deletions

View File

@ -1136,7 +1136,8 @@ function editions_openindiana(){
}
function releases_opensuse(){
echo 15.4 15.3 15.2 15.1 15.0 microos tumbleweed
web_pipe "https://download.opensuse.org/distribution/leap/" | grep 'class="name"' | cut -d '/' -f2 | grep -v 42 | sort -r | tr '\n' ' '
echo microos tumbleweed
}
function releases_oraclelinux() {