meillo@0: #!/bin/sh -e
meillo@0: 
meillo@0: case "$1" in
meillo@0: 	purge)
meillo@0: 		# On a purge we also...
meillo@0: 		# Remove spool and config file
meillo@0: 		rm -rf /var/log/masqmail /var/spool/masqmail /etc/masqmail
meillo@0: 		rm -f /etc/default/masqmail
meillo@23: 		rm -rf /var/run/masqmail
meillo@0: 		# Remove from inetd.conf
meillo@0: 		##update-inetd --remove masqmail
meillo@0: 		;;
meillo@0: 
meillo@0: 	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
meillo@0: 		;;
meillo@0: esac
meillo@0: 
meillo@0: #DEBHELPER#