| 1 |
#!/bin/sh |
| 2 |
# texlive-binaries preinst, created 2008 by the Debian TeX Task Force |
| 3 |
# probably not copyrightable as it looks now, but anyway the code maybe |
| 4 |
# freely copied, distributed and/or modified |
| 5 |
|
| 6 |
# remove any format or log files in /var/lib/texmf/web2c, they must be |
| 7 |
# in $engine subdirs now. tetex does not properly remove them, and |
| 8 |
# they cause strange failures with context. |
| 9 |
|
| 10 |
set -e |
| 11 |
|
| 12 |
for ext in fmt mem log base; do |
| 13 |
rm -f /var/lib/texmf/web2c/*.$ext |
| 14 |
done |
| 15 |
|
| 16 |
#DEBHELPER# |
| 17 |
|
| 18 |
# texlive-binaries.preinst end |
| 19 |
# Local Variables: |
| 20 |
# mode: shell-script |
| 21 |
# End: |