aboutsummaryrefslogtreecommitdiffstats
path: root/english/mirror
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2021-05-24 10:07:05 +0200
committerLaura Arjona Reina <larjona@debian.org>2021-06-04 12:59:14 +0000
commit444658633a9bc2f06d4349f042099f22153f15a3 (patch)
treefc83908cf49c623562c405529c5319d1d851b7f5 /english/mirror
parentbcc25449fd592eb421bd0a4b1759e9040663e3e9 (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-xenglish/mirror/mirror_list.pl2
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") {

© 2014-2024 Faster IT GmbH | imprint | privacy policy