debian/masqmail-debian
annotate postrm @ 59:a4a8f0d0b63a
updated TODO list to include the `set -e' stuff
author | meillo@marmaro.de |
---|---|
date | Mon, 19 Jul 2010 12:28:35 +0200 |
parents | 30402b14eeb8 |
children |
rev | line source |
---|---|
meillo@51 | 1 #!/bin/sh |
meillo@51 | 2 set -e |
meillo@0 | 3 |
meillo@0 | 4 case "$1" in |
meillo@0 | 5 purge) |
meillo@0 | 6 # On a purge we also... |
meillo@0 | 7 # Remove spool and config file |
meillo@0 | 8 rm -rf /var/log/masqmail /var/spool/masqmail /etc/masqmail |
meillo@0 | 9 rm -f /etc/default/masqmail |
meillo@23 | 10 rm -rf /var/run/masqmail |
meillo@0 | 11 # Remove from inetd.conf |
meillo@0 | 12 ##update-inetd --remove masqmail |
meillo@0 | 13 ;; |
meillo@0 | 14 |
meillo@0 | 15 upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) |
meillo@0 | 16 ;; |
meillo@0 | 17 esac |
meillo@0 | 18 |
meillo@0 | 19 #DEBHELPER# |