pkgsrc-wip/cjk-latex-chinese/DEINSTALL
Chris Pinnock d114b51e72 Initial import of cjk-latex-chinese 20020721 into pkgsrc-wip.
This package installs full Chinese BIG5/GB support for CJK-LaTeX

Supplied in NetBSD PR#13375 from Rui-Xiang Guo.
2003-04-18 09:41:21 +00:00

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