diff options
author | Erich Eckner <git@eckner.net> | 2016-04-18 09:17:13 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-04-18 09:17:13 +0200 |
commit | 4fce99bc8ec85fbb2e0fdc6438a58ada52e49564 (patch) | |
tree | 0f0db44d0719faf2d4c2abf5d0ca1738004f35a3 | |
parent | 0d581a71239b462966c554eaf2ddd2f900fec933 (diff) | |
download | archlinuxewe-4fce99bc8ec85fbb2e0fdc6438a58ada52e49564.tar.xz |
bugfix in checkVersions
-rwxr-xr-x | checkVersions | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/checkVersions b/checkVersions index 1f73039aa..15e001575 100755 --- a/checkVersions +++ b/checkVersions @@ -100,11 +100,11 @@ then tail -n1 \ ) elif echo "${src}" | \ - grep -q "//search\.m\?cpan\.org/CPAN/authors/\|//cpan\.metacpan\.org/authors/" + grep -q "//search\.m\?cpan\.org/CPAN/authors/" then quVer=$( \ echo "${src%/*}" | \ - sed "s#//search\.m\?cpan\.org/CPAN/\|//cpan.metacpan.org/#//www.cpan.org/#" | \ + sed "s#//search\.m\?cpan\.org/CPAN/#//www.cpan.org/#" | \ sed "s|^https:|http:|" | \ sed "s|\([^/]\)\$|\1/|" ) @@ -123,11 +123,11 @@ then tail -n1 \ ) elif echo "${src}" | \ - grep -q "//cpan\.org/" + grep -q "//cpan\.org/\|//cpan\.metacpan\.org/authors/" then quVer=$( \ echo "${src%/*}/" | \ - sed "s|//cpan|//www.cpan|" + sed "s|//cpan\.org/|//www.cpan.org/|" ) quNam=${src##*/} quNam=${quNam%-*} |