download.pl: Change SourceForge address to HTTPS.
SourceForge has supported HTTPS for its downloads for a long time now. I have not been able to see any failures resulting from this change. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
56ae9f9b0b
commit
9ea90209f9
@ -191,7 +191,7 @@ foreach my $mirror (@ARGV) {
|
|||||||
if ($mirror =~ /^\@SF\/(.+)$/) {
|
if ($mirror =~ /^\@SF\/(.+)$/) {
|
||||||
# give sourceforge a few more tries, because it redirects to different mirrors
|
# give sourceforge a few more tries, because it redirects to different mirrors
|
||||||
for (1 .. 5) {
|
for (1 .. 5) {
|
||||||
push @mirrors, "http://downloads.sourceforge.net/$1";
|
push @mirrors, "https://downloads.sourceforge.net/$1";
|
||||||
}
|
}
|
||||||
} elsif ($mirror =~ /^\@APACHE\/(.+)$/) {
|
} elsif ($mirror =~ /^\@APACHE\/(.+)$/) {
|
||||||
push @mirrors, "https://mirror.netcologne.de/apache.org/$1";
|
push @mirrors, "https://mirror.netcologne.de/apache.org/$1";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user