pkgsrc-wip/cjk-latex-japanese/DEINSTALL
Chris Pinnock 0ee278a6f4 Initial import of cjk-latex-japanese 20020721 into pkgsrc-wip.
This package installs full Japanese support for CJK-LaTeX, including
TrueType fonts.

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

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