Skip to content

Commit

Permalink
fix: debian from newest and on one line
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit authored and flexiondotorg committed Apr 17, 2024
1 parent d280a48 commit ce39944
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -867,10 +867,11 @@ function releases_crunchbang++() {
}

function releases_debian() {
DEBCURRENT=$(wget -q https://cdimage.debian.org/debian-cd/ -O- |grep '\.[0-9]/'|cut -d\> -f9|cut -d\/ -f1)
local 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 )

echo ${DEBOLD} ${DEBCURRENT}
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}"
echo ${DEBOLD}
}

function editions_debian() {
Expand Down

0 comments on commit ce39944

Please sign in to comment.