blob: d1353d87264fc12dd583b350942f2c63e21325f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/bin/sh
#
# $NetBSD: INSTALL,v 1.1 2001/10/31 22:58:53 zuntum Exp $
PKGNAME=$1
STAGE=$2
case ${STAGE} in
PRE-INSTALL)
;;
POST-INSTALL)
CONFDIR=${PKG_PREFIX}/share/t1lib
echo "Installing configuration files:"
if [ ! -f ${CONFDIR}/t1lib.config ]
then
echo " t1lib.config"
cp ${PKG_PREFIX}/share/examples/t1lib/t1lib.config.netbsd \
${CONFDIR}/t1lib.config
chmod 644 ${CONFDIR}/t1lib.config
fi
if [ ! -f ${CONFDIR}/FontDataBase ]
then
echo " FontDataBase"
cp ${PKG_PREFIX}/share/examples/t1lib/FontDataBase \
${CONFDIR}/FontDataBase
chmod 644 ${CONFDIR}/FontDataBase
fi
echo "done."
;;
*)
echo "Unexpected argument: $2"
exit 1
;;
esac
exit 0
|