434a11b1b5
This is a LaTeX2e macro package enabling the use of CJK scripts (Chinese/Japanese/Korean). Supplied in NetBSD PR#13375 from Rui-Xiang Guo.
26 lines
393 B
Bash
26 lines
393 B
Bash
#!/bin/sh
|
|
#
|
|
|
|
STAGE=$2
|
|
|
|
TEXMFMAIN=@TEXMFMAIN@
|
|
TEXMFCNF=${TEXMFMAIN}/web2c/texmf.cnf
|
|
|
|
case ${STAGE} in
|
|
DEINSTALL)
|
|
;;
|
|
POST-DEINSTALL)
|
|
echo "Edit ${TEXMFCNF}"
|
|
sed -e "/ttf2pk/d" ${TEXMFCNF} > ${TEXMFCNF}.tmp
|
|
sed -e "/ttf2tfm/d" ${TEXMFCNF}.tmp > ${TEXMFCNF}
|
|
rm -f ${TEXMFCNF}.tmp
|
|
|
|
echo "Update ls-R"
|
|
mktexlsr
|
|
;;
|
|
*)
|
|
echo "Unexpected argument: ${STAGE}"
|
|
exit 1
|
|
;;
|
|
esac
|
|
exit 0
|