diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2015-03-23 21:07:48 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2015-03-24 14:22:03 +0100 |
commit | 36dadddada0cc2ee3c989de37ea1c3b2af0a2566 (patch) | |
tree | c1fe6086befb1c55154d47ed6fd8345b19df9729 | |
parent | c7c8b766f557f0ac735ce9b41703b5b32a5b1c46 (diff) | |
download | rpmdrake-36dadddada0cc2ee3c989de37ea1c3b2af0a2566.tar rpmdrake-36dadddada0cc2ee3c989de37ea1c3b2af0a2566.tar.gz rpmdrake-36dadddada0cc2ee3c989de37ea1c3b2af0a2566.tar.bz2 rpmdrake-36dadddada0cc2ee3c989de37ea1c3b2af0a2566.tar.xz rpmdrake-36dadddada0cc2ee3c989de37ea1c3b2af0a2566.zip |
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)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/pkg.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 |