diff options
author | Erich Eckner <git@eckner.net> | 2017-01-12 12:13:53 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-01-12 12:13:53 +0100 |
commit | a90a74887c4a96746d020b6b8719fef2be7da5b6 (patch) | |
tree | 78d45c3b3de886be7b22ed75969286a3c2b60106 /checkVersions | |
parent | bb0c5105c8ef2b980d43f42e0cf74d4291819bab (diff) | |
download | archlinuxewe-a90a74887c4a96746d020b6b8719fef2be7da5b6.tar.xz |
checkVersions kann jetzt auch netkit-*
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions index 99b8bf7aa..73a51b76b 100755 --- a/checkVersions +++ b/checkVersions @@ -131,6 +131,18 @@ then then remVer="0.1" elif echo "${src}" | \ + grep -q '^http://ftp.linux.org.uk/.*/netkit/' + then + quVer="${src%/*}/" + remVer="$( + curl "${quVer}" 2> /dev/null | \ + tr '<>' '\n' | \ + grep "^${pkgname#netkit-}-[0-9.-]\+\.tar\.gz\$" | \ + sed "s|^${pkgname#netkit-}-\([0-9.-]\+\)\.tar\.gz\$|\1|" | \ + sort -V | \ + tail -n1 + )" + elif echo "${src}" | \ grep -q "//www\.mpich\.org/" then quVer="${src%/*/*}/" |