From: David Bauer Date: Sat, 8 Aug 2020 22:33:57 +0000 (+0200) Subject: scripts: download.pl: fix indentation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fe82ea049e521043d88c036ecdda4d2be6a14f1c;p=openwrt%2Fstaging%2Fzorun.git scripts: download.pl: fix indentation Signed-off-by: David Bauer --- diff --git a/scripts/download.pl b/scripts/download.pl index dd49255367..cdccae133f 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -243,7 +243,7 @@ foreach my $mirror (@ARGV) { push @mirrors, "ftp://ftp.riken.jp/Linux/kernel.org/$dir"; push @mirrors, "ftp://www.mirrorservice.org/sites/ftp.kernel.org/pub/$dir"; } - } elsif ($mirror =~ /^\@GNOME\/(.+)$/) { + } elsif ($mirror =~ /^\@GNOME\/(.+)$/) { push @mirrors, "https://mirror.csclub.uwaterloo.ca/gnome/sources/$1"; push @mirrors, "http://ftp.acc.umu.se/pub/GNOME/sources/$1"; push @mirrors, "http://ftp.kaist.ac.kr/gnome/sources/$1"; @@ -252,8 +252,7 @@ foreach my $mirror (@ARGV) { push @mirrors, "http://ftp.belnet.be/ftp.gnome.org/sources/$1"; push @mirrors, "ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/$1"; push @mirrors, "ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/sources/$1"; - } - else { + } else { push @mirrors, $mirror; } }