summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-11-24 10:11:29 +0100
committerErich Eckner <git@eckner.net>2016-11-24 10:11:29 +0100
commit7fa1e20b1bd5fd12b2a2a6e0130a7bbfdefe550b (patch)
tree2b8bdf222f9efad53f86be00bab9c22d9c3d0377
parent40669990796dcabddee6256f9738651613ff9907 (diff)
downloadarchlinuxewe-7fa1e20b1bd5fd12b2a2a6e0130a7bbfdefe550b.tar.xz
checkVersions kann jetzt auch dieharder (und .tgz's)
-rwxr-xr-xcheckVersions6
1 files changed, 3 insertions, 3 deletions
diff --git a/checkVersions b/checkVersions
index 0c1584a9f..3afdb0611 100755
--- a/checkVersions
+++ b/checkVersions
@@ -367,14 +367,14 @@ then
sed "s|^r\([[:digit:]]\+\)\s.*\$|\1|" \
)
elif echo "${src}" | \
- grep -q "https\?://\(\(bindfs\|qgis\|download\.osgeo\|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\|phy\.duke\.edu\)\|isl\.gforge\.inria\.fr\)/"
then
quVer="${src%/*}/"
remVer="$( \
curl "${quVer}" 2> /dev/null | \
tr '"<>' '\n\n\n' | \
- grep "^${pkgname}\(-src\)\?-\?[0-9._]\+\.tar\(\.gz\|\.bz2\)\?\$" | \
- sed "s@^${pkgname}\(-src\)\?-\?\([0-9._]\+\)\.tar\(\.gz\|\.bz2\)\?\$@\2@" | \
+ grep "^${pkgname}\(-src\)\?-\?[0-9._]\+\.t\(ar\(\.gz\|\.bz2\)\?\|gz\)\$" | \
+ sed "s@^${pkgname}\(-src\)\?-\?\([0-9._]\+\)\.t\(ar\(\.gz\|\.bz2\)\?\|gz\)\$@\2@" | \
tr '_' '.' | \
sort -V | \
tail -n1