postrm is in xfonts-utils 1:7.7+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 | #!/bin/sh
set -e
EXCLUDE_DIR=/var/lib/xfonts
EXCLUDE=$EXCLUDE_DIR/excluded-aliases
if [ "$1" = purge ]; then
if [ -d $EXCLUDE_DIR ]; then
rm -f $EXCLUDE
rmdir --ignore-fail-on-non-empty $EXCLUDE_DIR
fi
fi
# vim:set ai et sw=4 ts=4 tw=80:
|