0ee278a6f4
This package installs full Japanese support for CJK-LaTeX, including TrueType fonts. Supplied in NetBSD PR#13375 from Rui-Xiang Guo.
25 lines
369 B
Bash
25 lines
369 B
Bash
#!/bin/sh
|
|
#
|
|
|
|
STAGE=$2
|
|
|
|
TEXMFMAIN=@TEXMFMAIN@
|
|
SPECIALMAP=${TEXMFMAIN}/fontname/special.map
|
|
|
|
case ${STAGE} in
|
|
DEINSTALL)
|
|
;;
|
|
POST-DEINSTALL)
|
|
echo "Edit ${SPECIALMAP}"
|
|
sed -e "/ochi/d" ${SPECIALMAP} > ${SPECIALMAP}.tmp
|
|
mv -f ${SPECIALMAP}.tmp ${SPECIALMAP}
|
|
|
|
echo "Update ls-R"
|
|
mktexlsr
|
|
;;
|
|
*)
|
|
echo "Unexpected argument: ${STAGE}"
|
|
exit 1
|
|
;;
|
|
esac
|
|
exit 0
|