From 2139bccf55db265207dea8e896d614073eba3415 Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Fri, 18 Dec 2020 16:59:06 +0200 Subject: Do not translate country codes (mga#27840) --- rpmdrake.pm | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.1