postrm is in hylafax-client 3:6.0.6-6.
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 | #! /bin/sh -e
# Automatically added by dh_makeshlibs
if [ "$1" = "remove" ]; then
ldconfig
fi
# End automatically added section
if [ "$1" = "purge" ]; then
[ -d /etc/hylafax ] && rm -f /etc/hylafax/pagesizes
# clear and deregister config file out from ucf database
which ucf >/dev/null && ucf --purge /etc/hylafax/pagesizes
which ucfr >/dev/null && ucfr --purge hylafax-client /etc/hylafax/pagesizes
fi
exit 0
|