freebsd-ports/net/activemq/files/pkg-install.in
Julien Laffaye f8863d6900 Update to 5.5.0 [1]
Use USERS and GROUPS
Do not override configuration files

PR:		ports/156947 [1]
Submitted by:	"Sergey V. Dyatko" <sergey.dyatko@gmail.com>
Approved by:	Veniamin Gvozdikov <g.veniamin@googlemail.com> (maintainer), tabthorpe (mentor)
2011-06-27 13:29:23 +00:00

15 lines
219 B
Bash

#!/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