Mageia Bugzilla – Attachment 12104 Details for
Bug 27840
Wrong translation in Country selection mirrorlist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Proposed patch to rpmdrake
notr.patch (text/plain), 526 bytes, created by
Yuri Chornoivan
on 2020-12-18 13:16:00 CET
(
hide
)
Description:
Proposed patch to rpmdrake
Filename:
MIME Type:
Creator:
Yuri Chornoivan
Created:
2020-12-18 13:16:00 CET
Size:
526 bytes
patch
obsolete
>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;
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;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 27840
:
12088
| 12104