diff options
author | Erich Eckner <git@eckner.net> | 2018-06-06 16:28:28 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-06 16:28:28 +0200 |
commit | 4b0558d579ed054fe3b386f2e91d086eeb5d9152 (patch) | |
tree | 222cdf05ff05237e052af95fd865ba7a26d118be /checkVersions | |
parent | 235bbb6a79dde47a7f920b7fe449770ac9d4886f (diff) | |
download | archlinuxewe.git.save-4b0558d579ed054fe3b386f2e91d086eeb5d9152.tar.xz |
checkVersions: understand sources.archlinux32.org
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 5 |
1 files 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 |