0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
postfixadmin/debian/postfixadmin.prerm
Norman Messtorff db64ca83d9 Support for lenny packages added.
Please have a look at the debian/README.Debian file for more informations.


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@671 a1433add-5e2c-0410-b055-b7f2511e0802
2009-06-04 21:24:26 +00:00

25 lines
540 B
Bash

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