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
pull/2/head
Norman Messtorff 13 years ago
parent d39a802d00
commit a79d0d4c79

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

Loading…
Cancel
Save