Skip to content

Commit

Permalink
fix(parrotsec): change grep to not use perl regexp so MacOS/BSD are h…
Browse files Browse the repository at this point in the history
…appier
  • Loading branch information
philclifford committed Oct 18, 2024
1 parent 66a0af3 commit 8eda1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickget
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 8eda1e1

Please sign in to comment.