summaryrefslogtreecommitdiff
path: root/debian/cron.daily
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-06-19 15:19:03 -0400
committerJoey Hess <joey@kitenet.net>2011-06-19 15:19:03 -0400
commitad3fbb8d31894bfbff30e143dc18e85eed5afd20 (patch)
tree1b339cb4baf6deeb600f9cef23c60bd2a9f654ee /debian/cron.daily
parentc5c7cc002e05108ae3434a328cd0f2507908787a (diff)
Add AVOID_SPECIAL_FILE_WARNING to config file, and set it in cron job to avoid daily noise. (gulikoza)
Diffstat (limited to 'debian/cron.daily')
-rw-r--r--debian/cron.daily2
1 files changed, 2 insertions, 0 deletions
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