From b9f6bb9014c9367cc5aec45f60f2976dc18b9e9d Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Tue, 24 Mar 2015 08:51:41 +0100 Subject: from rpmdrake: fix restarting on priority updates (mga#14266) --- Changes | 2 ++ lib/ManaTools/Rpmdragora/pkg.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 57db3dbb..0a7d5e37 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,5 @@ + - rpmdragora: - from rpmdrake + fix restarting on priority updates (mga#14266) - rpmdragora: filter out critical config files from the .rpm{new,save} handling logic after installing packages (Martin Whitaker, mga#14266) diff --git a/lib/ManaTools/Rpmdragora/pkg.pm b/lib/ManaTools/Rpmdragora/pkg.pm index 4c39356f..503c2bcb 100644 --- a/lib/ManaTools/Rpmdragora/pkg.pm +++ b/lib/ManaTools/Rpmdragora/pkg.pm @@ -987,7 +987,7 @@ you may now inspect some in order to take actions:"), ); #- restart rpmdragora if needed, keep command line for that. - if ($need_restart && !$exit_code && $something_installed) { + if ($need_restart && !$exit_code) { Sys::Syslog::syslog('info|local1', "restarting rpmdragora"); #- 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