#!/bin/sh
set -e

. /usr/share/debconf/confmodule
db_version 2.0
db_input high postfixadmin/reconfigure-webserver || true
db_go || true

if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
	# we support mysql and pgsql
	dbc_dbtypes="mysql, pgsql"

	. /usr/share/dbconfig-common/dpkg/config
	dbc_go postfixadmin $@
fi
