xbps-src: update-check: handle underscores in upstream version string
This commit is contained in:
committed by
Enno Boland
parent
1f28ef0e4d
commit
e2b63458be
@@ -75,6 +75,7 @@ update_check() {
|
||||
curl -A "xbps-src-update-check/$XBPS_SRC_VERSION" --max-time 10 -Lsk "$url" |
|
||||
grep -Po -i "$rx"
|
||||
done |
|
||||
tr _ . |
|
||||
sort -Vu |
|
||||
{
|
||||
grep . || echo "NO VERSION found for $original_pkgname" 1>&2
|
||||
|
||||
Reference in New Issue
Block a user