aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index a06422d9..217c1f2e 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -723,7 +723,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
};
my $exit_code =
- urpm::main_loop::run($urpm, $state, undef, undef, $requested,
+ urpm::main_loop::run($urpm, $state, 1, undef, $requested,
{
completed => sub {
# explicitly destroy the progress window when it's over; we may
@@ -804,6 +804,11 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
scroll => 1,
);
},
+ need_restart => sub {
+ my ($need_restart_formatted) = @_;
+ interactive_msg(N("Warning"),
+ join("\n\n", values %$need_restart_formatted));
+ },
success_summary => sub {
if (!($done || @to_remove)) {
interactive_msg(N("Error"),