blob: 5608d7573f2d01a88740da90a7800cac3331e874 (
plain) (
blame)
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
|
#!/bin/sh
LOCALBASE=/usr/local
PATH=/bin:/usr/bin:${LOCALBASE}/bin; export PATH
if [ "x$2" = "xDEINSTALL" ]; then
TEXMFMAIN=`kpsexpand '$TEXMFMAIN'`
TEXMFCNF=${TEXMFMAIN}/web2c/texmf.cnf
CJKTTFDIR=${TEXMFMAIN}/fonts/truetype/CJK
CJKTFMDIR=${TEXMFMAIN}/fonts/tfm/CJK
# Delete symbolic links of TrueType font files
cd ${CJKTTFDIR} && rm -f arb5kai.ttf arb5sung.ttf argbkai.ttf argbsung.ttf
find ${CJKTFMDIR} -type l -and -name \*.tfm| xargs -n 10 rm -f
exit 0
fi
if [ "x$2" = "xPOST-DEINSTALL" ]; then
mktexlsr
updmap-sys --disable CJK-type1.map
# Contents in pdftex.map from CJK-pdftex.map are eliminated by updmap
exit 0
fi
|