view postrm @ 41:fc2536cbb34f

combine equal code
author meillo@marmaro.de
date Mon, 21 Jun 2010 23:10:15 +0200
parents 30402b14eeb8
children 845b243eb46f
line wrap: on
line source

#!/bin/sh -e

case "$1" in
	purge)
		# On a purge we also...
		# Remove spool and config file
		rm -rf /var/log/masqmail /var/spool/masqmail /etc/masqmail
		rm -f /etc/default/masqmail
		rm -rf /var/run/masqmail
		# Remove from inetd.conf
		##update-inetd --remove masqmail
		;;

	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
		;;
esac

#DEBHELPER#