diff options
author | Peter Palfrader <peter@palfrader.org> | 2021-05-24 10:07:05 +0200 |
---|---|---|
committer | Laura Arjona Reina <larjona@debian.org> | 2021-06-04 12:59:14 +0000 |
commit | 444658633a9bc2f06d4349f042099f22153f15a3 (patch) | |
tree | fc83908cf49c623562c405529c5319d1d851b7f5 /english/mirror | |
parent | bcc25449fd592eb421bd0a4b1759e9040663e3e9 (diff) |
mirror/mirror_list: Sort CDimage mirrors by country so we do not get a random order every time we call mirror_list.pl
Diffstat (limited to 'english/mirror')
-rwxr-xr-x | english/mirror/mirror_list.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/english/mirror/mirror_list.pl b/english/mirror/mirror_list.pl index 91597cf9de8..de4156837c1 100755 --- a/english/mirror/mirror_list.pl +++ b/english/mirror/mirror_list.pl @@ -711,7 +711,7 @@ sub cdimage_mirrors($) { my $which = shift; die unless $which; print "#use wml::debian::languages\n\n<perl>\nmy \@cdmirrors = (\n"; - foreach my $country (keys %countries) { + foreach my $country (sort keys %countries) { foreach my $id (sort @{ $countries{$country} }) { my $countrycode = $code_of_country{$country}; if ($which eq "httpftp") { |