postrm is in pdns-backend-bind 4.1.1-1.
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 | #!/bin/sh
set -e
case "$1" in
purge)
# remove data file, if empty (created by postinst).
if [ -e /var/lib/powerdns/supermaster.conf ] && echo "d41d8cd98f00b204e9800998ecf8427e /var/lib/powerdns/supermaster.conf" | md5sum --check --status; then
rm -f /var/lib/powerdns/supermaster.conf
fi
;;
esac
|