From 81a44e268ddc92b4e484c1f8de9667230962012f Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 17 Jul 2018 16:15:28 +0200 Subject: checkVersions kennt nun auch git.eckner.net --- checkVersions | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'checkVersions') diff --git a/checkVersions b/checkVersions index 869586bc4..e5f6dd95a 100755 --- a/checkVersions +++ b/checkVersions @@ -431,6 +431,28 @@ then sort -V | \ tail -n1 \ ) + elif echo "${src}" | \ + grep -q "//git\.eckner\.net/" + then + quVer="${src%/*/*}" + quNam=$( + printf '%s\n' "${src}" | \ + sed ' + s,^.*/,, + s,-[0-9.]\+\.tar\.xz$,, + ' + ) + remVer=$( \ + curl_it "${quVer}" | \ + tr "<>'\"" '\n' | \ + sed -n ' + s,^/'"${quNam}"'\.git/snapshot/'"${quNam}"'-\([0-9.]\+\)\.tar\.xz$,\1, + T + p + ' | \ + sort -V | \ + tail -n1 + ) elif echo "${src}" | \ grep -q "//\(search\.m\?\)\?cpan\.org/\|//cpan\.metacpan\.org/authors/\|cpan\.org/modules/by-module/" then -- cgit v1.2.3-70-g09d2