aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-03-23 21:07:48 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-03-23 21:08:07 +0100
commit9ad335dd726ba4f73177c4407c37904fc073c316 (patch)
treea85ec3e9acbdf7c1cf9d2eaa46ebf80da7becdf8 /Rpmdrake
parent29a3afa4cc66d87871dac6c0195b106e45fe86b3 (diff)
downloadrpmdrake-9ad335dd726ba4f73177c4407c37904fc073c316.tar
rpmdrake-9ad335dd726ba4f73177c4407c37904fc073c316.tar.gz
rpmdrake-9ad335dd726ba4f73177c4407c37904fc073c316.tar.bz2
rpmdrake-9ad335dd726ba4f73177c4407c37904fc073c316.tar.xz
rpmdrake-9ad335dd726ba4f73177c4407c37904fc073c316.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')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
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