From 4b0558d579ed054fe3b386f2e91d086eeb5d9152 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 6 Jun 2018 16:28:28 +0200 Subject: checkVersions: understand sources.archlinux32.org --- checkVersions | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/checkVersions b/checkVersions index 0046afac..357ee9f7 100755 --- a/checkVersions +++ b/checkVersions @@ -606,6 +606,7 @@ then 'isl\.gforge\.inria\.fr' \ 'pkgbuild\.com' \ 'qgis\.org' \ + 'sources\.archlinux32\.org' \ 'webhome\.phy\.duke\.edu' \ 'www\.cybernoia\.de' \ 'www\.gaia-gis\.it' \ @@ -620,8 +621,8 @@ then remVer="$( \ curl_it "${quVer}" | \ tr '"<>' '\n\n\n' | \ - grep "^${pkgname}\(-src\)\?-\?[0-9._]\+[a-z]\?\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$" | \ - sed "s@^${pkgname}\(-src\)\?-\?\([0-9._]\+[a-z]\?\)\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$@\2@" | \ + grep "^${pkgname}\(-src\)\?-\?v\?[0-9._]\+[a-z]\?\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$" | \ + sed "s@^${pkgname}\(-src\)\?-\?v\?\([0-9._]\+[a-z]\?\)\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$@\2@" | \ tr '_' '.' | \ sort -V | \ tail -n1 -- cgit v1.2.3-70-g09d2