summaryrefslogtreecommitdiff
path: root/net/coda5_client/pkg/INSTALL
blob: 64fc934c6b72ee21310b4dc6cdb156ea9614539d (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:56:44 jlam Exp $

PKGNAME=$1
STAGE=$2

LN="@LN@"
RM="@RM@"

case ${STAGE} in
PRE-INSTALL)
	;;

POST-INSTALL)
	# coda-server may have already created these links
	for script in coda-setup-ports codaconfedit; do
		if [ ! -f ${PKG_PREFIX}/sbin/${script} ]
		then
			${LN} -sf venus-${script} ${PKG_PREFIX}/sbin/${script}
		fi
	done
	;;

*)
	echo "Unexpected argument: ${STAGE}"
	exit 1
	;;
esac
exit 0