postinst is in groff-base 1.21-7.
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 | #! /bin/sh -e
case $1 in
configure)
if [ -e /etc/tmac.man.local.moved-by-preinst ]; then
rm -f /etc/tmac.man.local.moved-by-preinst
fi
if [ -e /usr/share/groff/site-tmac.moved-by-preinst ]; then
rm -f /usr/share/groff/site-tmac.moved-by-preinst
fi
;;
esac
# Automatically added by dh_installmime
if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then
update-mime
fi
# End automatically added section
exit 0
|