diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-06 15:36:12 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-06 15:36:12 +0000 |
commit | bb650cf4b6286d2a6028ee9a4703bbf5617e3c81 (patch) | |
tree | 26517cd5277cdb0e4b541d48166034bd43c714b9 | |
parent | 735f8a67a20ee17c42bdfe0c3b349446ba07221b (diff) | |
download | drakx-bb650cf4b6286d2a6028ee9a4703bbf5617e3c81.tar drakx-bb650cf4b6286d2a6028ee9a4703bbf5617e3c81.tar.gz drakx-bb650cf4b6286d2a6028ee9a4703bbf5617e3c81.tar.bz2 drakx-bb650cf4b6286d2a6028ee9a4703bbf5617e3c81.tar.xz drakx-bb650cf4b6286d2a6028ee9a4703bbf5617e3c81.zip |
(empty_packages) display nicer messages for urpmi's errors
-rw-r--r-- | perl-install/install/pkgs.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index a1fb298d6..fa31c2094 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -310,7 +310,7 @@ sub empty_packages { $packages->{info} = \&log::l; $packages->{fatal} = $packages->{error} = sub { log::l("urpmi error: $_[0]"); - $::o->ask_warn(undef, $_[0]); + $::o->ask_warn(undef, N("An error occurred:") . "\n\n" . $_[0]); }; $packages->{root} = $::prefix; $packages->{prefer_vendor_list} = '/etc/urpmi/prefer.vendor.list'; |