#!/bin/sh set -e [ "$1" = "purge" ] || exit 0 if [ /etc/apache2/conf.d/amavis-stats-cn.conf ]; then rm -f /etc/apache2/conf.d/amavis-stats-cn.conf reload_apache2="yes" fi if [ "$reload_apache2" = "yes" ]; then if [ -x /usr/sbin/invoke-rc.d ]; then [ -x /etc/init.d/apache2 ] && invoke-rc.d apache2 reload || true else [ -x /etc/init.d/apache2 ] && /etc/init.d/apache2 reload || true fi fi