diff options
author | Erich Eckner <git@eckner.net> | 2016-07-22 21:53:47 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-07-22 21:53:47 +0200 |
commit | c08586386071d287ab7306a04e374b6572402f34 (patch) | |
tree | e9b8aa06265b867f7bb91379ce1e4cb683189546 | |
parent | 35c13ace16752f06b4be6a808246e078655a70b9 (diff) | |
download | archlinuxewe-c08586386071d287ab7306a04e374b6572402f34.tar.xz |
checkVersions kennt jetzt auch wurzel.org und tar.bz2
-rwxr-xr-x | checkVersions | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/checkVersions b/checkVersions index 152e121f4..811ed069c 100755 --- a/checkVersions +++ b/checkVersions @@ -352,14 +352,14 @@ then sed "s|^r\([[:digit:]]\+\)\s.*\$|\1|" \ ) elif echo "${src}" | \ - grep -q "http://\(\(bindfs\|www\.iozone\)\.org\|www\.cybernoia\.de\|isl\.gforge\.inria\.fr\)/" + grep -q "http://\(\(bindfs\|www\.\(iozone\|wurzel\)\)\.org\|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\)\?\$" | \ - sed "s|^${pkgname}-\?\([0-9._]\+\)\.tar\(\.gz\)\?\$|\1|" | \ + grep "^${pkgname}-\?[0-9._]\+\.tar\(\.gz\|\.bz2\)\?\$" | \ + sed "s@^${pkgname}-\?\([0-9._]\+\)\.tar\(\.gz\|\.bz2\)\?\$@\1@" | \ tr '_' '.' | \ sort -V | \ tail -n1 |