X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=scripts%2Fdownload.pl;h=042b1cce7d79371fc6f8f30f7fe908e0464e626c;hb=bd1c29df74d3174c654491641179f2199e6b2ce8;hp=08949d698aa49dd375e4dfbc14fb831e27dde61e;hpb=0649dfdfb60e2667f21f647d2c4b640f9be3d8f6;p=oweals%2Fopenwrt.git diff --git a/scripts/download.pl b/scripts/download.pl index 08949d698a..042b1cce7d 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -24,7 +24,7 @@ sub localmirrors { open LM, "$scriptdir/localmirrors" and do { while () { chomp $_; - push @mlist, $_; + push @mlist, $_ if $_; } close LM; }; @@ -142,8 +142,6 @@ foreach my $mirror (@ARGV) { push @extra, "$extra[0]/longterm/v$1"; } foreach my $dir (@extra) { - push @mirrors, "ftp://ftp.geo.kernel.org/pub/$dir"; - push @mirrors, "http://ftp.geo.kernel.org/pub/$dir"; push @mirrors, "ftp://ftp.all.kernel.org/pub/$dir"; push @mirrors, "http://ftp.all.kernel.org/pub/$dir"; push @mirrors, "ftp://ftp.de.kernel.org/pub/$dir";