aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@ukr.net>2020-12-18 16:59:06 +0200
committerYuri Chornoivan <yurchor@ukr.net>2020-12-18 16:59:06 +0200
commit2139bccf55db265207dea8e896d614073eba3415 (patch)
tree4d97ccb0e94626c1e25c472e2b1e28026714cb81
parent4bcc1f71c2919207e12aa87472c1225fa7cfc2ad (diff)
downloadrpmdrake-2139bccf55db265207dea8e896d614073eba3415.tar
rpmdrake-2139bccf55db265207dea8e896d614073eba3415.tar.gz
rpmdrake-2139bccf55db265207dea8e896d614073eba3415.tar.bz2
rpmdrake-2139bccf55db265207dea8e896d614073eba3415.tar.xz
rpmdrake-2139bccf55db265207dea8e896d614073eba3415.zip
Do not translate country codes (mga#27840)
-rw-r--r--rpmdrake.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index ef121029..f6f421d5 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -607,7 +607,6 @@ sub mirrors {
my $goodness;
each_index { $_ = $u2l{$_} || $_; $_ eq $mirror->{country} and $goodness ||= 100-$::i } (map { if_($tz =~ /^$_$/, @{$t2l{$_}}) } keys %t2l), @$us;
$mirror->{goodness} = $goodness + rand();
- $mirror->{country} = translate($mirror->{country});
}
unless (-x '/usr/bin/rsync') {
@mirrors = grep { $_->{url} !~ /^rsync:/ } @mirrors;