summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpreps/perl2
-rwxr-xr-xpreps/perl.d/fetchcpan2
2 files changed, 2 insertions, 2 deletions
diff --git a/preps/perl b/preps/perl
index 90f33d4..8f2a845 100755
--- a/preps/perl
+++ b/preps/perl
@@ -54,7 +54,7 @@ sub fetchdist
return;
}
- my $mirror = $ENV{'CPANMIRROR'} || 'ftp://cpan.pair.com';
+ my $mirror = $ENV{'CPANMIRROR'} || 'https://mirror.leaseweb.net/CPAN/';
my $url = "${mirror}/authors/id/${cpath}";
print STDERR "Downloading $file... ";
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 '