refactor: update sparkylinux releases and editions to be dynamic

This commit is contained in:
Martin Wimpress 2024-04-20 10:37:49 +01:00 committed by Martin Wimpress
parent 1b42fbeda3
commit 660af25250
1 changed files with 4 additions and 2 deletions

View File

@ -1250,11 +1250,13 @@ function editions_solus() {
}
function releases_sparkylinux() {
echo 7.3
web_pipe "https://sparkylinux.org/download/stable/" | grep "ISO image" | cut -d'-' -f3 | sort -ru | tr '\n' ' '
echo
}
function editions_sparkylinux() {
echo lxqt mate xfce kde minimalgui minimalcli gameover multimedia rescue
web_pipe "https://sparkylinux.org/download/stable/" | grep "ISO image" | cut -d'-' -f5 | cut -d'.' -f 1 | sort -u | tr '\n' ' '
echo
}
function releases_spirallinux() {