postinst is in fonts-rufscript 010-5.
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 | #!/bin/sh
set -e
if [ "$1" = configure -a -x /usr/bin/fc-cache ]; then
echo -n "Regenerating fonts cache... "
HOME=/root fc-cache -f -v 1>/var/log/fontconfig.log 2>&1 || \
(echo "failed; see /var/log/fontconfig.log for more information."; \
exit 1)
echo "done."
fi
|