summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-06 16:28:28 +0200
committerErich Eckner <git@eckner.net>2018-06-06 16:28:28 +0200
commit4b0558d579ed054fe3b386f2e91d086eeb5d9152 (patch)
tree222cdf05ff05237e052af95fd865ba7a26d118be /checkVersions
parent235bbb6a79dde47a7f920b7fe449770ac9d4886f (diff)
downloadarchlinuxewe-4b0558d579ed054fe3b386f2e91d086eeb5d9152.tar.xz
checkVersions: understand sources.archlinux32.org
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions5
1 files changed, 3 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index 0046afacf..357ee9f76 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