From 3c89244cf9477a7f5c2f42f9639045353fced62e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 28 May 2007 14:10:55 +0000 Subject: (get_package) fix UTF-8 issue in drakbug (#31067) --- perl-install/NEWS | 2 +- perl-install/standalone/drakbug | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index 0281f29f0..ce330a976 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,4 +1,4 @@ -- fix some UTF8 issue (#31067) +- fix some UTF8 issue (#31067) (notably drakbug) - hw support: o handle snd-cs5530 driver - progress bar wait_message: ensure it doesn't go crazy when asked to update diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug index 40676fd21..e059c243e 100755 --- a/perl-install/standalone/drakbug +++ b/perl-install/standalone/drakbug @@ -165,7 +165,7 @@ sub get_package { local $ENV{PATH} = "$ENV{PATH}:/sbin:/usr/sbin"; $which_app = chomp_(`which '$executable' 2> /dev/null`); # deush, rpm can takes some time aka it'll sleeps if something has opened rpm db ! - $rpm_package = $which_app eq "" ? N("Package not installed") : chomp_(`rpm -qf '$which_app' 2>&1`); + $rpm_package = $which_app eq "" ? N("Package not installed") : common::to_utf8(chomp_(`rpm -qf '$which_app' 2>&1`)); $packages{$executable} = $rpm_package; } $rpm_package; -- cgit v1.2.1