aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-11 10:24:22 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-11 10:24:22 +0000
commit62294c037ada25bde7b287ef6a539c9be95d48ed (patch)
treedb3dfdb9a086712376c558933448a756a5431f93
parent1b1f50d75a7566f33aaffcd2484720314226c659 (diff)
downloadrpmdrake-62294c037ada25bde7b287ef6a539c9be95d48ed.tar
rpmdrake-62294c037ada25bde7b287ef6a539c9be95d48ed.tar.gz
rpmdrake-62294c037ada25bde7b287ef6a539c9be95d48ed.tar.bz2
rpmdrake-62294c037ada25bde7b287ef6a539c9be95d48ed.tar.xz
rpmdrake-62294c037ada25bde7b287ef6a539c9be95d48ed.zip
Fix utf-8 changelog display in remove mode
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 00438ecd..f9cba3ed 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -260,7 +260,7 @@ sub extract_header {
if ($MODE eq 'remove') {
@$max_info_in_descr or return;
add2hash($pkg, { files => [ split /\n/, chomp_(scalar(`rpm -ql $name`)) || N("(none)") ],
- changelog => $chg_prepro->(scalar(`rpm -q --changelog $name`)) });
+ changelog => $chg_prepro->(to_utf8(scalar(`rpm -q --changelog $name`))) });
} else {
my ($p, $medium) = ($pkg->{pkg}, pkg2medium($pkg->{pkg}, $urpm));
my $hdlist = "$urpm->{statedir}/$medium->{hdlist}";