freebsd-ports/chinese/cwtex/pkg-deinstall
Yen-Ming Lee f76762dfec o due to teTeX update to 2.0.2, update pkg-plist
o move mktexlsr to end of pkg-plist

PR:		53644
Submitted by:	Statue <statue@freebsd.sinica.edu.tw>
2003-06-27 08:37:17 +00:00

13 lines
289 B
Bash

#!/bin/sh
# Run just once.
if [ "x$2" != "xDEINSTALL" ]; then
exit 0
fi
TEXMFMAIN=`kpsexpand '$TEXMFMAIN'`
PSFONTSMAP=${TEXMFMAIN}/dvips/config/config.ps
# Edit dvips/config/config.ps
sed -e /%cwtex_begin/,/%cwtex_end/d $PSFONTSMAP > $PSFONTSMAP.tmp
mv -f $PSFONTSMAP.tmp $PSFONTSMAP