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