From 33a5d71ddab083df1791a97906f3cd372cdaa077 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 24 Jun 2024 12:34:28 +0100 Subject: [PATCH] fix(parrotsec): constrain parrot to the most recent release only Older releases drop the isos and only keep the torrents --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index 23860f4..e302738 100755 --- a/quickget +++ b/quickget @@ -945,7 +945,7 @@ function releases_oraclelinux() { function releases_parrotsec() { #shellcheck disable=SC2046,SC2005 - echo $(web_pipe "https://download.parrot.sh/parrot/iso/" | grep -o -P '(?<=href=")[0-9].*(?=/")' | sort -nr | head -n +2) + echo $(web_pipe "https://download.parrot.sh/parrot/iso/" | grep -o -P '(?<=href=")[0-9].*(?=/")' | sort -nr | head -n 1) } function editions_parrotsec() {