Fix test.sh for Alpine's current lowriter
Arch Linux AUR Success Details
Alpine 3.19 Success Details

This commit is contained in:
Přemysl Eric Janouch 2024-04-09 22:50:39 +02:00
parent a02966d1d1
commit 147b880524
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ for tool in "$@"; do
# Only some of our generators use PDF versions higher than 1.5
log "Testing $tool for version detection"
grep -q "/Version /1.6" "$result" || grep -q "^%PDF-1.6" "$result" \
grep -q "/Version /1[.]6" "$result" \
|| grep -q "^%PDF-1[.][67]" "$result" \
|| die "Version detection seems to misbehave (no upgrade)"
done