postrm is in dma 0.11-1build1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #!/bin/sh
set -e
# lkajan: resolution of #688682
dpkg-maintscript-helper rm_conffile /etc/dma/dma.conf "0.0.2010.06.17-14.1~" dma -- "$@"
case "$1" in
purge)
if which ucfr >/dev/null; then
ucfr --purge dma /etc/dma/dma.conf
fi
if which ucf >/dev/null; then
ucf --purge /etc/dma/dma.conf
fi
if [ -d /etc/dma ] ; then
rm -rf /etc/dma || true
fi
if [ -d /var/spool/dma ] ; then
rm -rf /var/spool/dma || true
fi
;;
esac
# Automatically added by dh_installdeb/11.1.4ubuntu1
dpkg-maintscript-helper rm_conffile /etc/dma/virtusertable 0.9-1~ -- "$@"
# End automatically added section
# Automatically added by dh_installdebconf/11.1.4ubuntu1
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
|