diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-05-28 14:10:55 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-05-28 14:10:55 +0000 |
commit | 3c89244cf9477a7f5c2f42f9639045353fced62e (patch) | |
tree | baa8312f37a9703155ba481f1bcc065f83ca6e5b | |
parent | 2e6717a71f242051777a22b9fc3cc7ef8cc217c3 (diff) | |
download | drakx-backup-do-not-use-3c89244cf9477a7f5c2f42f9639045353fced62e.tar drakx-backup-do-not-use-3c89244cf9477a7f5c2f42f9639045353fced62e.tar.gz drakx-backup-do-not-use-3c89244cf9477a7f5c2f42f9639045353fced62e.tar.bz2 drakx-backup-do-not-use-3c89244cf9477a7f5c2f42f9639045353fced62e.tar.xz drakx-backup-do-not-use-3c89244cf9477a7f5c2f42f9639045353fced62e.zip |
(get_package) fix UTF-8 issue in drakbug (#31067)
-rw-r--r-- | perl-install/NEWS | 2 | ||||
-rwxr-xr-x | 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; |