aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/moefonts-cid/pkg-deinstall
blob: b214c368c792ad258a0bc6ee2975f7b40195a84a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

GSVER=7.05
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}