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