X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2aa5b50fe0d217d3b69d37642588fee83f6519d2..d45352ad01d79d8e5025ee698328681181e16030:/scripts/download.pl diff --git a/scripts/download.pl b/scripts/download.pl index 08949d698..042b1cce7 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";