summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/pkgs.pm2
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';