diff options
author | Joey Hess <joey@kitenet.net> | 2011-06-11 12:03:18 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-06-11 12:03:18 -0400 |
commit | e6ea0c871f0b58783bd3c62ac7577a4ff170ac69 (patch) | |
tree | 0b0b0454fa78e3423ce148c1ef097c03e58b3a2d | |
parent | 394add719939dbb88386238247fd22245c9e61f8 (diff) |
Avoid being noisy in post-install after automatic yum updates. (Tuomo Soini)
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | yum-etckeeper.py | 2 |
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) |