preinst 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 | #!/bin/sh -e
if [ $# -eq 2 ] && ( [ "$1" = "install" ] || [ "$1" = "upgrade" ] ); then
if [ "$2" = 0.3.3-4 ]; then
# Don't care for changes in the X11R7 cm-super-x11.scale
rm -f /etc/X11/fonts/X11R7/Type1/cm-super-x11.scale
fi
fi
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
exit 0
|