From ad3fbb8d31894bfbff30e143dc18e85eed5afd20 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 19 Jun 2011 15:19:03 -0400 Subject: Add AVOID_SPECIAL_FILE_WARNING to config file, and set it in cron job to avoid daily noise. (gulikoza) --- debian/changelog | 2 ++ debian/cron.daily | 2 ++ 2 files changed, 4 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index c550f3d..3bc2b0c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ etckeeper (0.55) UNRELEASED; urgency=low (Tuomo Soini) * Ignore FHS violating prelink.cache and openvpn-status.log. * Ignore *.LOCK files, as used by selinux policies. + * Add AVOID_SPECIAL_FILE_WARNING to config file, and set it in cron + job to avoid daily noise. (gulikoza) -- Joey Hess Tue, 31 May 2011 17:34:54 -0400 diff --git a/debian/cron.daily b/debian/cron.daily index 91e2ed4..b46e7a2 100644 --- a/debian/cron.daily +++ b/debian/cron.daily @@ -5,6 +5,8 @@ if [ -x /usr/bin/etckeeper ] && [ -e /etc/etckeeper/etckeeper.conf ]; then if [ "$AVOID_DAILY_AUTOCOMMITS" != "1" ]; then # avoid autocommit if an install run is in progress if [ ! -e /var/cache/etckeeper/packagelist.pre-install ]; then + AVOID_SPECIAL_FILE_WARNING=1 + export AVOID_SPECIAL_FILE_WARNING if etckeeper unclean; then etckeeper commit "daily autocommit" >/dev/null fi -- cgit v1.2.3