aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-03-23 21:07:48 +0100
committerRĂ©mi Verschelde <remi@verschelde.fr>2015-03-24 14:22:03 +0100
commit36dadddada0cc2ee3c989de37ea1c3b2af0a2566 (patch)
treec1fe6086befb1c55154d47ed6fd8345b19df9729 /Rpmdrake/pkg.pm
parentc7c8b766f557f0ac735ce9b41703b5b32a5b1c46 (diff)
downloadrpmdrake-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)
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
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