aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-02 13:23:16 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-02 13:23:16 +0000
commit42174156812441e98e6b6238ad5376a5e683024f (patch)
tree86986207042c2d86fccdf4d9da3796ab65e30396
parent2eb7ace806359305285be04337e7f2f35eaefc38 (diff)
downloadrpmdrake-42174156812441e98e6b6238ad5376a5e683024f.tar
rpmdrake-42174156812441e98e6b6238ad5376a5e683024f.tar.gz
rpmdrake-42174156812441e98e6b6238ad5376a5e683024f.tar.bz2
rpmdrake-42174156812441e98e6b6238ad5376a5e683024f.tar.xz
rpmdrake-42174156812441e98e6b6238ad5376a5e683024f.zip
(perform_installation) display how many transactions failed
-rwxr-xr-xRpmdrake/pkg.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 766aa26b..2844ea7e 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -707,6 +707,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
if (@errors || @error_msgs) {
interactive_msg(
N("Problem during installation"),
+ if_($nok, N("%d installation transactions failed", $nok) . "\n\n") .
N("There was a problem during the installation:\n\n%s",
join("\n", @errors, @error_msgs)),
if_(@errors + @error_msgs > 1, scroll => 1),