aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-03-24 08:51:41 +0100
committerAngelo Naselli <anaselli@linux.it>2015-03-24 08:51:41 +0100
commitb9f6bb9014c9367cc5aec45f60f2976dc18b9e9d (patch)
treeeb6d9e86c54a20f3206b1198dafa05522b540fbb
parent44f5615b40a780d4c1ae91c6ba7a4773625c6017 (diff)
downloadmanatools-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--Changes2
-rw-r--r--lib/ManaTools/Rpmdragora/pkg.pm2
2 files changed, 3 insertions, 1 deletions
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