aboutsummaryrefslogtreecommitdiff
path: root/print/latex-cjk/files/pkg-deinstall.in
diff options
context:
space:
mode:
Diffstat (limited to 'print/latex-cjk/files/pkg-deinstall.in')
-rw-r--r--print/latex-cjk/files/pkg-deinstall.in28
1 files changed, 0 insertions, 28 deletions
diff --git a/print/latex-cjk/files/pkg-deinstall.in b/print/latex-cjk/files/pkg-deinstall.in
deleted file mode 100644
index 1554aa264341..000000000000
--- a/print/latex-cjk/files/pkg-deinstall.in
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-
-LOCALBASE="${LOCALBASE}"
-
-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