preinst is in texlive-binaries 2016.20160513.41080.dfsg-2+deb9u1.
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 | #!/bin/sh -e
# texlive-binaries preinst, created 2008 by the Debian TeX Task Force
# probably not copyrightable as it looks now, but anyway the code maybe
# freely copied, distributed and/or modified
# remove any format or log files in /var/lib/texmf/web2c, they must be
# in $engine subdirs now. tetex does not properly remove them, and
# they cause strange failures with context.
for ext in fmt mem log base; do
rm -f /var/lib/texmf/web2c/*.$ext
done
# texlive-binaries.preinst end
# Local Variables:
# mode: shell-script
# End:
|