0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-20 03:36:20 +02:00
postfixadmin/debian/postfixadmin.prerm

25 lines
540 B
Plaintext
Raw Normal View History

#!/bin/sh
set -e
. /usr/share/debconf/confmodule
if [ -f /usr/share/dbconfig-common/dpkg/prerm ]; then
. /usr/share/dbconfig-common/dpkg/prerm
dbc_go postfixadmin $@
fi
if [ -f /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_version 2.0
db_get postfixadmin/reconfigure-webserver
servers="$RET"
linkname="postfixadmin"
if [ -e /usr/share/wwwconfig-common/confd-link.sh ]; then
. /usr/share/wwwconfig-common/confd-link.sh
else
. /usr/share/postfixadmin/confd-link.sh
fi
fi
#DEBHELPER#