aboutsummaryrefslogtreecommitdiff
path: root/net/activemq/files/pkg-install.in
blob: c6e1f794875f10f9031b1c49362d0df5c1005f31 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# $FreeBSD$

ETCDIR=%%ETCDIR%%
ETC_FILES="%%ETC_FILES%%"

case $2 in
POST-INSTALL)
	for f in ${ETC_FILES}
	do
		if [ ! -f ${ETCDIR}/${f} ]; then
			/bin/cp ${ETCDIR}/${f}.sample ${ETCDIR}/${f}
		fi
	done
esac