fix: Use a portable grep option

Fixes #1713
This commit is contained in:
Anton Alekseev 2025-12-16 15:00:22 +07:00 committed by Martin Wimpress
parent efb71ecdcb
commit 9ee7db9915
1 changed files with 1 additions and 1 deletions

View File

@ -918,7 +918,7 @@ function editions_parrotsec() {
function releases_pclinuxos() {
# shellcheck disable=SC2046
echo $(web_pipe "https://ftp.fau.de/pclinuxos/pclinuxos/iso" | grep -oP 'pclinuxos64-\K[^\-]+-\K[0-9]+\.[0-9]+' | head -n 1)
echo $(web_pipe "https://ftp.fau.de/pclinuxos/pclinuxos/iso" | grep -o -E 'pclinuxos64-([a-z]+-)+[0-9]{4}\.[0-9]{2}\.iso'| grep -o -E '[0-9]{4}\.[0-9]{2}'| head -n 1)
}
function editions_pclinuxos() {