summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakbug
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-05-28 14:10:55 +0000
committerThierry Vignaud <tv@mandriva.org>2007-05-28 14:10:55 +0000
commit3c89244cf9477a7f5c2f42f9639045353fced62e (patch)
treebaa8312f37a9703155ba481f1bcc065f83ca6e5b /perl-install/standalone/drakbug
parent2e6717a71f242051777a22b9fc3cc7ef8cc217c3 (diff)
downloaddrakx-3c89244cf9477a7f5c2f42f9639045353fced62e.tar
drakx-3c89244cf9477a7f5c2f42f9639045353fced62e.tar.gz
drakx-3c89244cf9477a7f5c2f42f9639045353fced62e.tar.bz2
drakx-3c89244cf9477a7f5c2f42f9639045353fced62e.tar.xz
drakx-3c89244cf9477a7f5c2f42f9639045353fced62e.zip
(get_package) fix UTF-8 issue in drakbug (#31067)
Diffstat (limited to 'perl-install/standalone/drakbug')
-rwxr-xr-xperl-install/standalone/drakbug2
1 files changed, 1 insertions, 1 deletions
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;