summaryrefslogtreecommitdiffstats
path: root/preps/perl.d/fetchcpan
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-09-21 22:48:33 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-09-21 22:49:08 +0200
commit8a791349333639a3f3663ac5c2ae8232a5ef32db (patch)
treebe629cd994c0b6fd14b97eefe9ce61e0d3d24cfa /preps/perl.d/fetchcpan
parentd376c48b86198f8e303e46355805427d22368428 (diff)
downloadgenpkg-8a791349333639a3f3663ac5c2ae8232a5ef32db.tar.gz
genpkg-8a791349333639a3f3663ac5c2ae8232a5ef32db.tar.xz
Change default CPAN mirror to leaseweb
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'preps/perl.d/fetchcpan')
-rwxr-xr-xpreps/perl.d/fetchcpan2
1 files changed, 1 insertions, 1 deletions
diff --git a/preps/perl.d/fetchcpan b/preps/perl.d/fetchcpan
index b59c293..8065f28 100755
--- a/preps/perl.d/fetchcpan
+++ b/preps/perl.d/fetchcpan
@@ -1,6 +1,6 @@
#!/bin/sh
-mirror=${CPANMIRROR:-ftp://cpan.pair.com}
+mirror=${CPANMIRROR:-https://mirror.leaseweb.net/CPAN/}
path=/modules/02packages.details.txt.gz
curl --silent "$mirror$path" | zcat 2>/dev/null | awk '