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

postfixadmin.postrm:

- Call wwwconfig scripts only if they are existing.



git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1312 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
Norman Messtorff 2011-12-27 18:39:59 +00:00
parent d39a802d00
commit a79d0d4c79

View File

@ -11,8 +11,10 @@ if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
servers="$RET" servers="$RET"
restart=$servers restart=$servers
linkname="postfixadmin" linkname="postfixadmin"
if [ -e /usr/share/wwwconfig-common/restart.sh ]; then
. /usr/share/wwwconfig-common/restart.sh . /usr/share/wwwconfig-common/restart.sh
fi fi
fi
if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
. /usr/share/dbconfig-common/dpkg/postrm . /usr/share/dbconfig-common/dpkg/postrm