From f94e97502940dd1221d5f6503581d541f9954e54 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sat, 20 Apr 2024 10:09:41 +0100 Subject: [PATCH] fix: update debian with web_pipe(), correct output and ignore NEVER_RELEASED --- quickget | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickget b/quickget index 89edc9a..6e2c97e 100755 --- a/quickget +++ b/quickget @@ -907,9 +907,9 @@ function releases_crunchbang++() { function releases_debian() { local DEBOLD - DEBCURRENT=$(wget -q https://cdimage.debian.org/debian-cd/ -O- | grep '\.[0-9]/' | cut -d\> -f9 | cut -d\/ -f1) - DEBOLD=$(wget -q https://cdimage.debian.org/cdimage/archive/ -O- | grep -e '>[1-9][0-9]\.' | grep -v 'live' | cut -d\> -f9 | cut -d'/' -f1 | tac) - echo -n "${DEBCURRENT}" + DEBCURRENT=$(web_pipe "https://cdimage.debian.org/debian-cd/" | grep '\.[0-9]/' | cut -d'>' -f 9 | cut -d'/' -f 1) + DEBOLD=$(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 "${DEBCURRENT} " echo ${DEBOLD} }