From 9ad335dd726ba4f73177c4407c37904fc073c316 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 23 Mar 2015 21:07:48 +0100 Subject: Revert "(perform_installation) do not restart if we didn't install any package" This reverts commit 478c89356f66dd86488242e877b7b6a88e7218a8. which was totally bogus, thus fixing restarting on priority updates (mga#14266) --- NEWS | 2 ++ Rpmdrake/pkg.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 766eaa8c..bc43fed6 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- fix restarting on priority updates (mga#14266) + Version 6.17 - 22 March 2015, RĂ©mi Verschelde - rpmdrake: diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index a190da1c..3560f721 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -877,7 +877,7 @@ you may now inspect some in order to take actions:"), ); #- restart rpmdrake if needed, keep command line for that. - if ($need_restart && !$exit_code && $something_installed) { + if ($need_restart && !$exit_code) { log::explanations("restarting rpmdrake"); #- it seems to work correctly with exec instead of system, provided we stop timers #- added --previous-priority-upgrade to allow checking if yet if -- cgit v1.2.1