blob: b03909424d2ff6840783707470f8ade8cec35aa0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/sh
#
# $NetBSD: INSTALL,v 1.2 2006/06/15 20:40:15 jlam Exp $
ADOBE_RESOURCEDIR="@ADOBE_RESOURCEDIR@"
GS_RESOURCEDIR="@GS_RESOURCEDIR@"
PKG_INFO="@PKG_INFO@"
case ${STAGE} in
POST-INSTALL)
${PKG_INFO} -qL adobe-cidfonts | ${GREP} "/Resource/CIDFont/" |
while read src; do
base=`${BASENAME} $src`
dest="${GS_RESOURCEDIR}/CIDFont/$base"
${RM} -f $dest
${LN} -fs $src $dest
done
;;
esac
|