preinst is in lmodern 2.004.5-1.
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 | #! /bin/sh -e
if dpkg --compare-versions "$2" lt 2.004.1-3.1; then
if [ -x "which defoma-font 2>/dev/null" ]; then
defoma-font purge /etc/defoma/hints/lmodern.hints
fi
fi
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/defoma/hints/lmodern.hints 2.004.1-3 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/texmf/updmap.d/10lmodern.cfg 2.004.1-3.1 -- "$@"
# End automatically added section
exit 0
|