postrm is in xfonts-mathml 6ubuntu1.
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 19 20 21 22 23 24 25 | #!/bin/sh
# postrm script for xfonts-mathml
#
# see: dh_installdeb(1)
set -e
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
# Automatically added by dh_installxfonts
if [ -x "`which update-fonts-dir 2>/dev/null`" ]; then
update-fonts-scale Type1;update-fonts-dir --x11r7-layout Type1
fi
# End automatically added section
# borrowed from gsfonts-x11.postrm
if [ "$1" = "purge" ] && ! [ -x "`which update-fonts-dir 2>/dev/null`" ]; then
rm -f /usr/share/fonts/X11/Type1/fonts.alias
rm -f /usr/share/fonts/X11/Type1/fonts.dir
rm -f /usr/share/fonts/X11/fonts.scale
fi
exit 0
|