fix(parrotsec): constrain parrot to the most recent release only

Older releases drop the isos and only keep the torrents
This commit is contained in:
Martin Wimpress 2024-06-24 12:34:28 +01:00 committed by Martin Wimpress
parent c760932d48
commit 33a5d71dda
1 changed files with 1 additions and 1 deletions

View File

@ -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() {