postinst is in cm-super-x11 0.3.4-9.
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 26 27 28 29 30 31 32 33 | #!/bin/sh -e
case "$1" in
configure)
# remove /usr/share/doc/cm-super-x11 directory and make it a link
if ! [ -L /usr/share/doc/cm-super-x11 ] ; then
# it should not contain anything by now ...
rmdir /usr/share/doc/cm-super-x11
ln -s cm-super-minimal /usr/share/doc/cm-super-x11
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
dpkg-maintscript-helper rm_conffile /etc/defoma/hints/cm-super-x11.hints 0.3.4-3 -- "$@"
fi
# Automatically added by dh_installxfonts
if which update-fonts-dir >/dev/null 2>&1; then
update-fonts-scale Type1;update-fonts-dir --x11r7-layout Type1
fi
# End automatically added section
exit 0
|