xbps-src: update-check: handle underscores in upstream version string

This commit is contained in:
Piotr Wójcik 2018-04-13 16:36:37 +02:00 committed by Enno Boland
parent 1f28ef0e4d
commit e2b63458be
4 changed files with 1 additions and 5 deletions

View file

@ -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