summaryrefslogtreecommitdiff
path: root/mail/courier-auth/INSTALL
blob: 4d27dfff5f9f4f932f9ce52383893736dd5fa9c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: INSTALL,v 1.1.1.1 2002/01/22 22:00:22 jlam Exp $

SYSCONFTOOL="@SYSCONFTOOL@"
EGDIR=${PKG_PREFIX}/share/examples/courier
GEN_FILES="@GEN_FILES@"

case ${STAGE} in
POST-INSTALL)
	eval set -- ${GEN_FILES}
	for file
	do
		# Merge new config files with the old ones.
		${CP} ${EGDIR}/${file}.dist @PKG_SYSCONFDIR@/${file}.dist
		${SYSCONFTOOL} @PKG_SYSCONFDIR@/${file}
		${CHMOD} 0600 @PKG_SYSCONFDIR@/${file}
		${RM} -f @PKG_SYSCONFDIR@/${file}.dist
	done
	;;
esac