aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/moefonts-cid/pkg-deinstall
blob: b155bdcbdacad6c9107e65310d56cb6813b683a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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}