summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-06 15:23:21 +0100
committerErich Eckner <git@eckner.net>2019-02-06 15:23:21 +0100
commitd28d8b896bb3dcd289e2b67eeeda315e070a125f (patch)
tree4ebe863af664a3d781b4f12e764ddb01c876ddc5
parenta4bcd1abf4683fc8c59fe031dab6bcd2a61c3c71 (diff)
downloadarchlinuxewe-d28d8b896bb3dcd289e2b67eeeda315e070a125f.tar.xz
checkVersions: learn python2-courier-pythonfilter
-rwxr-xr-xcheckVersions5
1 files changed, 3 insertions, 2 deletions
diff --git a/checkVersions b/checkVersions
index d51b25384..d18ebfc61 100755
--- a/checkVersions
+++ b/checkVersions
@@ -767,6 +767,7 @@ then
'qgis\.org' \
'sources\.archlinux32\.org' \
'webhome\.phy\.duke\.edu' \
+ 'www\.dragonsdawn\.net' \
'www\.gaia-gis\.it' \
'www\.hashcash\.org' \
'www\.iozone\.org' \
@@ -786,8 +787,8 @@ then
remVer="$( \
curl_it "${quVer}" | \
tr '"<>' '\n\n\n' | \
- 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@" | \
+ grep "^${pkgname#python2-}\(-src\)\?-\?v\?[0-9._]\+[a-z]\?\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$" | \
+ sed "s@^${pkgname#python2-}\(-src\)\?-\?v\?\([0-9._]\+[a-z]\?\)\.t\(ar\(\.[gx]z\|\.bz2\)\?\|gz\)\$@\2@" | \
tr '_' '.' | \
sort -V | \
tail -n1