1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/chinese/moefonts-cid/pkg-deinstall
Jing-Tang Keith Jang b7321842b3 Fix Ghostscript 6.50 path.
Submitted by:	bento
2001-03-10 05:22:14 +00:00

15 lines
272 B
Bash

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