summaryrefslogtreecommitdiff
path: root/mail/sqwebmail/INSTALL
blob: d7923881138f53c9eb2363295fe143e62e7142a6 (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 2002/01/24 20:52:20 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} 0644 @PKG_SYSCONFDIR@/${file}
		${RM} -f @PKG_SYSCONFDIR@/${file}.dist
	done
	;;
esac