mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 11:38:42 +02:00
16 lines
320 B
Plaintext
16 lines
320 B
Plaintext
|
#!/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
|