summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-09-22 15:23:29 +0200
committerErich Eckner <git@eckner.net>2016-09-22 15:23:29 +0200
commit554ea0f4c9fef06701a9710a661cfea59aa5e1ac (patch)
tree5a7020e371bc87964ea8aa30466ec051c186d2cd /checkVersions
parent1f4874896483ed3efc7da44f54e1ccc17ef24df9 (diff)
downloadarchlinuxewe-554ea0f4c9fef06701a9710a661cfea59aa5e1ac.tar.xz
checkVersions kann jetzt noch mehr
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions6
1 files changed, 3 insertions, 3 deletions
diff --git a/checkVersions b/checkVersions
index 7244c37d3..9ed6b94f2 100755
--- a/checkVersions
+++ b/checkVersions
@@ -354,14 +354,14 @@ then
sed "s|^r\([[:digit:]]\+\)\s.*\$|\1|" \
)
elif echo "${src}" | \
- grep -q "http://\(\(bindfs\|www\.\(iozone\|wurzel\)\)\.org\|ftp\.daper\.net\|www\.cybernoia\.de\|isl\.gforge\.inria\.fr\)/"
+ grep -q "https\?://\(\(bindfs\|qgis\|download\.osgeo\|www\.\(iozone\|wurzel\)\)\.org\|ftp\.daper\.net\|www\.cybernoia\.de\|isl\.gforge\.inria\.fr\)/"
then
quVer="${src%/*}/"
remVer="$( \
curl "${quVer}" 2> /dev/null | \
tr '"<>' '\n\n\n' | \
- grep "^${pkgname}-\?[0-9._]\+\.tar\(\.gz\|\.bz2\)\?\$" | \
- sed "s@^${pkgname}-\?\([0-9._]\+\)\.tar\(\.gz\|\.bz2\)\?\$@\1@" | \
+ grep "^${pkgname}\(-src\)\?-\?[0-9._]\+\.tar\(\.gz\|\.bz2\)\?\$" | \
+ sed "s@^${pkgname}\(-src\)\?-\?\([0-9._]\+\)\.tar\(\.gz\|\.bz2\)\?\$@\2@" | \
tr '_' '.' | \
sort -V | \
tail -n1