diff options
author | Erich Eckner <git@eckner.net> | 2018-07-17 16:15:28 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-07-17 16:15:28 +0200 |
commit | 81a44e268ddc92b4e484c1f8de9667230962012f (patch) | |
tree | ceef7b453919979f8e21b7a267809ff68e94e270 /checkVersions | |
parent | 9b25b21eca773bdacfa544148ea5e925b7228efe (diff) | |
download | archlinuxewe-81a44e268ddc92b4e484c1f8de9667230962012f.tar.xz |
checkVersions kennt nun auch git.eckner.net
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions index 869586bc4..e5f6dd95a 100755 --- a/checkVersions +++ b/checkVersions @@ -432,6 +432,28 @@ then 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 quVer=$( \ |