blob: fb300c0808e046d0be5deca7d5de81c4fa4beebf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: DEINSTALL,v 1.3 2012/10/14 21:24:04 minskim Exp $
TEXMFSYSVAR="@VARBASE@/lib/texmf"
case "${STAGE}" in
DEINSTALL)
# Remove font map files generated by updmap-sys. The list of
# files is taken from the updmap man page and matches the
# "output files" for updmap.
${RM} -f ${TEXMFSYSVAR}/fonts/map/dvipdfmx/updmap/kanjix.map
${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/builtin35.map
${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/download35.map
${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/ps2pk.map
${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts.map
${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts_pk.map
${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts_t1.map
${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex.map
${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex_dl14.map
${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex_ndl14.map
${RM} -f ${TEXMFSYSVAR}/web2c/updmap.log
# Remove stray directories.
for dir in \
${TEXMFSYSVAR}/web2c \
${TEXMFSYSVAR}/fonts/map/dvipdfmx/updmap \
${TEXMFSYSVAR}/fonts/map/dvips/updmap \
${TEXMFSYSVAR}/fonts/map/pdftex/updmap \
${TEXMFSYSVAR}/fonts/map/pxdvi/updmap
do
@RMDIR@ -p "$dir" 2>/dev/null || @TRUE@
done
;;
esac
|