fix: limit void releases to the 3 latest to prevent broken downloads

This commit is contained in:
Martin Wimpress 2024-04-28 13:29:22 +01:00
parent df2abbda89
commit a84454068f
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
1 changed files with 1 additions and 1 deletions

View File

@ -1113,7 +1113,7 @@ function releases_vanillaos() {
}
function releases_void() {
echo $(web_pipe "https://repo-default.voidlinux.org/live/" | grep "^<a href=\"2" | cut -d'"' -f2 | tr -d '/' | sort -ru)
echo $(web_pipe "https://repo-default.voidlinux.org/live/" | grep "^<a href=\"2" | cut -d'"' -f2 | tr -d '/' | sort -ru | head -3)
}
function editions_void() {