root/alternc-secondarymx/trunk/debian/postrm
| Revision 1664, 459 bytes (checked in by benjamin, 2 years ago) | |
|---|---|
| |
| Line | |
|---|---|
| 1 | #!/bin/sh -e |
| 2 | |
| 3 | # Benjamin Sonntag <benjamin@alternc.org> |
| 4 | POSTMAP="/var/cache/secondarymx/secondarymx" |
| 5 | |
| 6 | case "$1" in |
| 7 | remove) |
| 8 | ;; |
| 9 | |
| 10 | upgrade) |
| 11 | ;; |
| 12 | |
| 13 | purge) |
| 14 | # Remove the config file from postfix main.cf |
| 15 | # Delete the hash table |
| 16 | rm ${POSTMAP} ${POSTMAP}.db |
| 17 | # Unconfigure postfix : |
| 18 | ;; |
| 19 | |
| 20 | failed-upgrade|abort-install|abort-upgrade|disappear) |
| 21 | ;; |
| 22 | |
| 23 | *) |
| 24 | echo "postrm called with unknown argument '$1'" >&2 |
| 25 | exit 1 |
| 26 | ;; |
| 27 | esac |
| 28 | |
| 29 | #DEBHELPER# |
| 30 |
Note: See TracBrowser for help on using the browser.
