fix(parrotsec): change grep to not use perl regexp so MacOS/BSD are happier
This commit is contained in:
parent
66a0af3a92
commit
8eda1e1150
2
quickget
2
quickget
|
@ -879,7 +879,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 1)
|
||||
echo $(web_pipe "https://download.parrot.sh/parrot/iso/" | grep -o -E 'href="[[:digit:]]\.[[:digit:]]+' | sort -nr | head -n 3 | cut -d\" -f 2 )
|
||||
}
|
||||
|
||||
function editions_parrotsec() {
|
||||
|
|
Loading…
Reference in New Issue