diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-03-24 08:51:41 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-03-24 08:51:41 +0100 |
commit | b9f6bb9014c9367cc5aec45f60f2976dc18b9e9d (patch) | |
tree | eb6d9e86c54a20f3206b1198dafa05522b540fbb | |
parent | 44f5615b40a780d4c1ae91c6ba7a4773625c6017 (diff) | |
download | manatools-b9f6bb9014c9367cc5aec45f60f2976dc18b9e9d.tar manatools-b9f6bb9014c9367cc5aec45f60f2976dc18b9e9d.tar.gz manatools-b9f6bb9014c9367cc5aec45f60f2976dc18b9e9d.tar.bz2 manatools-b9f6bb9014c9367cc5aec45f60f2976dc18b9e9d.tar.xz manatools-b9f6bb9014c9367cc5aec45f60f2976dc18b9e9d.zip |
from rpmdrake: fix restarting on priority updates (mga#14266)
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | lib/ManaTools/Rpmdragora/pkg.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 |