From 36dadddada0cc2ee3c989de37ea1c3b2af0a2566 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 bd501dea..8ca2f754 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- fix restarting on priority updates (mga#14266) + Version 6.10.4 - 23 March 2015, RĂ©mi Verschelde - rpmdrake: diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index b5e9193c..78437db5 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