pkgsrc/fonts/ghostscript-cidfonts/DEINSTALL

19 lines
380 B
Text
Raw Normal View History

#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.1 2006/06/15 20:40:15 jlam Exp $
ADOBE_RESOURCEDIR="@ADOBE_RESOURCEDIR@"
GS_RESOURCEDIR="@GS_RESOURCEDIR@"
PKG_INFO="@PKG_INFO@"
case ${STAGE} in
DEINSTALL)
${PKG_INFO} -qL adobe-cidfonts | ${GREP} "/Resource/CIDFont/" |
while read src; do
base=`${BASENAME} $src`
dest="${GS_RESOURCEDIR}/CIDFont/$base"
${RM} -f $dest
done
;;
esac