From 704bc022ec0a44075ad50b21d9a7f474439ea88d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Mon, 6 Oct 2008 22:20:48 +0000 Subject: [PATCH] explicitely backup main.cf configuration even though we don't replace it totally See: #1029 --- install/alternc.install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install/alternc.install b/install/alternc.install index e027e599..1e07ec00 100644 --- a/install/alternc.install +++ b/install/alternc.install @@ -156,6 +156,8 @@ for file in $CONFIG_FILES; do fi done +# also backup main.cf since we're doing major changes to it +BACKUPS="$BACKUPS etc/postfix/main.cf" tar -zcf "$BACKUP_FILE" -C / $BACKUPS 2>/dev/null || true #######################################################################