blob: f1f070eb2975e4bd9ed227a1c2680e884a19deca (
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
|
#! /bin/sh
#
# $NetBSD: INSTALL,v 1.1 2001/05/31 22:58:08 jlam Exp $
PKGNAME=$1
STAGE=$2
LN="@LN@"
RM="@RM@"
case ${STAGE} in
PRE-INSTALL)
;;
POST-INSTALL)
# coda-client may have already created these links
for script in coda-setup-ports codaconfedit; do
if [ ! -f ${PKG_PREFIX}/sbin/${script} ]
then
${LN} -sf vice-${script} ${PKG_PREFIX}/sbin/${script}
fi
done
;;
*)
echo "Unexpected argument: ${STAGE}"
exit 1
;;
esac
exit 0
|