summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--yum-etckeeper.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 77bd3e3..4be9ae8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ etckeeper (0.55) UNRELEASED; urgency=low
* Fix error propigation to yum, which makes AVOID_COMMIT_BEFORE_INSTALL work.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=709487
Thanks, Thomas Moschny
+ * Avoid being noisy in post-install after automatic yum updates.
+ (Tuomo Soini)
-- Joey Hess <joeyh@debian.org> Tue, 31 May 2011 17:34:54 -0400
diff --git a/yum-etckeeper.py b/yum-etckeeper.py
index be3c943..2e966f8 100644
--- a/yum-etckeeper.py
+++ b/yum-etckeeper.py
@@ -34,5 +34,5 @@ def pretrans_hook(conduit):
def posttrans_hook(conduit):
conduit.info(2, 'etckeeper: post transaction commit')
servicecmd = conduit.confString('main', 'servicecmd', '/usr/bin/etckeeper')
- command = '%s %s' % (servicecmd, "post-install")
+ command = '%s %s > /dev/null' % (servicecmd, "post-install")
os.system(command)