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:
parent
c760932d48
commit
33a5d71dda
2
quickget
2
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() {
|
||||
|
|
Loading…
Reference in New Issue