freebsd-ports/chinese/moefonts-cid/pkg-deinstall
Vanilla I. Shu 5ee982259a Due to ghostscript-gnu update.
PR:		ports/51686
Submitted by:	Statue <statue@freebsd.sinica.edu.tw>
2003-05-03 21:06:06 +00:00

15 lines
272 B
Bash

#!/bin/sh
GSVER=7.06
GSDIR=${PKG_PREFIX}/share/ghostscript
FONTMAP=${GSDIR}/${GSVER}/lib/Fontmap.GS
FONTMAPTMP=${FONTMAP}.tmp
# Run just once.
if [ "x$2" != "xDEINSTALL" ]; then
exit 0
fi
sed -e "/^\/MOE.*/d" ${FONTMAP} > ${FONTMAPTMP}
mv -f ${FONTMAPTMP} ${FONTMAP}