aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/pkg.pm5
2 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 71d282e6..cbf98c48 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- tell the user to "restart system" when needed (needs urpmi-5.14)
- rpmdrake:
o add tooltips to pull down menus & to search entry
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 1c4af94c..c52e4d9c 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -752,6 +752,11 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
$canceled and goto return_with_exit_code;
$gurpm->invalidate_cancel_forever;
},
+ need_restart => sub {
+ my ($need_restart_formatted) = @_;
+ # FIXME: offer to restart the system
+ interactive_msg(N("Warning"), join("\n", values %$need_restart_formatted), scroll => 1);
+ },
trans_error_summary => sub {
my ($nok, $errors) = @_;
interactive_msg(