postinst 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" = "configure" ]; then
if ! [ -f $EXCLUDE ]; then
[ -d $EXCLUDE_DIR ] || mkdir -m 755 -p $EXCLUDE_DIR
echo '!! Excluded alias files to be ignored by update-fonts-alias(8)' > $EXCLUDE
fi
fi
# vim:set ai et sw=4 ts=4 tw=80:
|