summaryrefslogtreecommitdiff
path: root/checkVersions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-04-18 09:17:13 +0200
committerErich Eckner <git@eckner.net>2016-04-18 09:17:13 +0200
commit4fce99bc8ec85fbb2e0fdc6438a58ada52e49564 (patch)
tree0f0db44d0719faf2d4c2abf5d0ca1738004f35a3 /checkVersions
parent0d581a71239b462966c554eaf2ddd2f900fec933 (diff)
downloadarchlinuxewe.git.save-4fce99bc8ec85fbb2e0fdc6438a58ada52e49564.tar.xz
bugfix in checkVersions
Diffstat (limited to 'checkVersions')
-rwxr-xr-xcheckVersions8
1 files changed, 4 insertions, 4 deletions
diff --git a/checkVersions b/checkVersions
index 1f73039a..15e00157 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%-*}