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 #######################################################################