summaryrefslogtreecommitdiff
path: root/net/coda5_client/INSTALL
blob: 8ae1b79f97611cdb5c22caca528a67ba334c00b6 (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/10/31 22:55:03 zuntum 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