aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-07-05 16:36:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-07-05 16:36:38 +0000
commit5e77147dde35271252871808dc0acf823e1fd798 (patch)
tree6b44520dd0dda7db44557f5edf5f8f82054c3910 /rpmdrake.pm
parent3a17bb2854fb676f1d7eb63f8a2477ba8e567cb7 (diff)
downloadrpmdrake-5e77147dde35271252871808dc0acf823e1fd798.tar
rpmdrake-5e77147dde35271252871808dc0acf823e1fd798.tar.gz
rpmdrake-5e77147dde35271252871808dc0acf823e1fd798.tar.bz2
rpmdrake-5e77147dde35271252871808dc0acf823e1fd798.tar.xz
rpmdrake-5e77147dde35271252871808dc0acf823e1fd798.zip
urpmi's error messages are already in UTF-8
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index bdfcdd21..fa710811 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -794,7 +794,7 @@ sub add_medium_and_check {
my @newnames = ($_[0]); #- names of added media
my $fatal_msg;
my @error_msgs;
- local $urpm->{fatal} = sub { printf STDERR "Fatal: %s\n", $_[1]; $fatal_msg = to_utf8($_[1]); goto fatal_error };
+ local $urpm->{fatal} = sub { printf STDERR "Fatal: %s\n", $_[1]; $fatal_msg = $_[1]; goto fatal_error };
local $urpm->{error} = sub { printf STDERR "Error: %s\n", $_[0]; push @error_msgs, $_[0] };
if ($options->{distrib}) {
@newnames = $urpm->add_distrib_media(@_);