freebsd-ports/chinese/moefonts-cid/pkg-deinstall
Kevin Lo bbe8ef209a Import moefonts-cid, which is MOE CIDFonts converted by Adobe.
PR: 21703
Submitted by: Jing-Tang Keith Jang <keith@freebsd.sinica.edu.tw>
2000-10-03 15:43:11 +00:00

15 lines
272 B
Bash

#!/bin/sh
GSVER=6.01
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}