ports/net-mgmt/p5-jmx4perl/files/pkg-deinstall.in
Tom Judge 83e47a6b8d * Remove interacitve questions in build process
* Install bundled config files

Feature safe:	yes
Approved by:	db, eadler (mentors, implicit)
2012-12-06 02:50:17 +00:00

15 lines
222 B
Bash

#!/bin/sh
# $FreeBSD$
ETCDIR=%%ETCDIR%%
ETC_FILES="%%ETC_FILES%%"
case $2 in
DEINSTALL)
for f in ${ETC_FILES}
do
/usr/bin/cmp -s ${ETCDIR}/${f}.sample \
${ETCDIR}/${f} \
&& /bin/rm -f ${ETCDIR}/${f}
done
esac