summaryrefslogtreecommitdiff
path: root/net/netatalk1/INSTALL
blob: 15ac390215c5b765946ccd9edde05c0017371039 (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
# $NetBSD: INSTALL,v 1.1.1.1 2004/11/02 11:20:10 markd Exp $

case ${STAGE} in
POST-INSTALL)
	ETCDIR=@PKG_SYSCONFDIR@/netatalk

	${MKDIR} -p ${ETCDIR}

	${ECHO} "Installing configuration files:"
	for file in \
		AppleVolumes.default AppleVolumes.system afpd.conf \
		atalkd.conf netatalk.conf papd.conf
	do
		if [ -f ${ETCDIR}/${file} ]; then
			${ECHO} "  ${ETCDIR}/${file} already exists"
		else
			${ECHO} "  ${ETCDIR}/${file}"
			${CP} ${PKG_PREFIX}/share/examples/netatalk/${file} \
				${ETCDIR}/${file}
			${CHMOD} 644 ${ETCDIR}/${file}
		fi
	done
	${ECHO} "done."
	;;
esac