fix: Better match parrotsec releases
This commit is contained in:
parent
daba59d46c
commit
9dc70808c5
2
quickget
2
quickget
|
@ -913,7 +913,7 @@ function releases_oraclelinux() {
|
|||
|
||||
function releases_parrotsec() {
|
||||
#shellcheck disable=SC2046,SC2005
|
||||
echo $(web_pipe "https://download.parrot.sh/parrot/iso/" | grep -o -E 'href="[[:digit:]]\.[[:digit:]]+' | sort -nr | head -n 3 | cut -d\" -f 2 )
|
||||
echo $(web_pipe "https://download.parrot.sh/parrot/iso/" | grep -o -E 'href="([[:digit:]]+\.)+[[:digit:]]+/' | sort -nr | head -n 3 | cut -d\" -f 2 | cut -d'/' -f 1)
|
||||
}
|
||||
|
||||
function editions_parrotsec() {
|
||||
|
|
Loading…
Reference in New Issue