summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-07-22 21:53:47 +0200
committerErich Eckner <git@eckner.net>2016-07-22 21:53:47 +0200
commitc08586386071d287ab7306a04e374b6572402f34 (patch)
treee9b8aa06265b867f7bb91379ce1e4cb683189546
parent35c13ace16752f06b4be6a808246e078655a70b9 (diff)
downloadarchlinuxewe-c08586386071d287ab7306a04e374b6572402f34.tar.xz
checkVersions kennt jetzt auch wurzel.org und tar.bz2
-rwxr-xr-xcheckVersions6
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