From ca6dfe5d83cdd4f454966d563ecab55ee258880b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Mon, 6 Oct 2008 22:21:37 +0000 Subject: [PATCH] don't warn on main.cf configuration changes --- install/alternc.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/alternc.install b/install/alternc.install index 1e07ec00..8e275499 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -53,8 +53,8 @@ INSTALLED_CONFIG_TAR="/var/backups/alternc/etc-installed.tar.gz" # Look for modified configuration files # if [ -f "$INSTALLED_CONFIG_TAR" ]; then - CHANGED="`env LANG=C tar -zdf "$INSTALLED_CONFIG_TAR" -C / 2> /dev/null | - grep -v 'Uid differs'|grep -v 'Gid differs' |grep -v 'Mode differs' | + CHANGED="`env LANG=C tar -zdf "$INSTALLED_CONFIG_TAR" -C / 2> /dev/null | + grep -v 'postfix/main.cf' | grep -v 'Uid differs'|grep -v 'Gid differs' |grep -v 'Mode differs' | sed -e 's/^\([^:]*\).*/ \1/' | sort -u`" if [ ! -z "$CHANGED" ]; then echo "The following configuration files has changed since last AlternC"