From 42174156812441e98e6b6238ad5376a5e683024f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 2 Mar 2007 13:23:16 +0000 Subject: (perform_installation) display how many transactions failed --- Rpmdrake/pkg.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'Rpmdrake') 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), -- cgit v1.2.1