#! /bin/sh # postrm script for mlmmj # # see: dh_installdeb(1) set -e # Remove the mailing lists, if we were asked to do so if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_get mlmmj/remove-on-purge if [ "$RET" = "true" ]; then rm -rf /var/spool/mlmmj /etc/mlmmj/lists > /dev/null fi fi # Look for stale data in /etc/aliases if [ "$1" = purge ] && grep -qs '/usr/bin/mlmmj' /etc/aliases; then echo "W: /etc/aliases appears to contain references to mlmmj" >&2 fi # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER#