mirror of
https://git.freebsd.org/ports.git
synced 2025-07-12 23:09:19 -04:00
* Install bundled config files Feature safe: yes Approved by: db, eadler (mentors, implicit)
15 lines
222 B
Bash
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
|