fix: limit debian releases so missing downloads are not present

This commit is contained in:
Martin Wimpress 2024-04-28 13:21:14 +01:00
parent e9b0fcfa89
commit 3d36215c64
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
1 changed files with 2 additions and 3 deletions

View File

@ -712,9 +712,8 @@ function releases_debian() {
local NEW=""
local OLD=""
NEW=$(web_pipe "https://cdimage.debian.org/debian-cd/" | grep '\.[0-9]/' | cut -d'>' -f 9 | cut -d'/' -f 1)
OLD=$(web_pipe "https://cdimage.debian.org/cdimage/archive/" | grep -e '>[1-9][0-9]\.' | grep -v 'live' | grep -v NEVER | cut -d'>' -f 9 | cut -d'/' -f 1 | tac)
echo -n "${NEW} "
echo ${OLD}
OLD=$(web_pipe "https://cdimage.debian.org/cdimage/archive/" | grep -e '>[1-9][0-9]\.' | grep -v 'live' | grep -v NEVER | cut -d'>' -f 9 | cut -d'/' -f 1 | tac | head -20)
echo ${NEW} ${OLD}
}
function editions_debian() {