diff options
author | Erich Eckner <git@eckner.net> | 2016-05-24 11:40:38 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-05-24 11:40:38 +0200 |
commit | 598a8c1ea271eebdb9025c6bdb1d43f9c99b87b4 (patch) | |
tree | 1cdb6a522d46d672fedb8bf987dab9213c6801a7 | |
parent | a5e7b87741530f80bd655326dbe4fba80d244805 (diff) | |
download | archlinuxewe.git.save-598a8c1ea271eebdb9025c6bdb1d43f9c99b87b4.tar.xz |
checkVersions versteht nun mehr Quellen
-rwxr-xr-x | checkVersions | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/checkVersions b/checkVersions index 088aab16..87a3ac94 100755 --- a/checkVersions +++ b/checkVersions @@ -244,7 +244,7 @@ then remVer=$( \ curl -o - "${quVer}" 2> /dev/null | \ tr "\"" "\n" | \ - grep "^${quNam}" | \ + grep "^${quNam}[0-9.]\+\$" | \ sed "s|^${quNam}||" | \ sort -V | \ tail -n1 \ @@ -295,6 +295,18 @@ then tail -n1 | \ sed "s|^r\([[:digit:]]\+\)\s.*\$|\1|" \ ) + elif echo "${src}" | \ + grep -q "http://\(bindfs\|www\.iozone\)\.org/" + 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|" | \ + sort -V | \ + tail -n1 + )" else continue fi |