don't warn on main.cf configuration changes
This commit is contained in:
parent
704bc022ec
commit
ca6dfe5d83
|
@ -54,7 +54,7 @@ INSTALLED_CONFIG_TAR="/var/backups/alternc/etc-installed.tar.gz"
|
|||
#
|
||||
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' |
|
||||
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"
|
||||
|
|
Loading…
Reference in New Issue