1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Delete configuration files if they have not been altered by the user.

Suggested by:	pav
This commit is contained in:
Cy Schubert 2009-03-03 00:07:44 +00:00
parent 40a723daed
commit f64a274232
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229391

View File

@ -1,5 +1,6 @@
@unexec if cmp -s %%PREFIX%%/etc/zetaback.conf %%PREFIX%%/etc/zetaback.conf.sample; then rm -f %%PREFIX%%/etc/zetaback.conf; else echo If permanently deleting this package, %%PREFIX%%/etc/zetaback.conf must be removed manually.; fi
@unexec if cmp -s %%PREFIX%%/etc/zetaback_agent.conf %%PREFIX%%/etc/zetaback_agent.conf.sample; then rm -f %%PREFIX%%/etc/zetaback_agent.conf; else echo If permanently deleting this package, %%PREFIX%%/etc/zetaback_agent.conf must be removed manually.; fi
bin/zetaback
bin/zetaback_agent
etc/zetaback.conf.sample
etc/zetaback_agent.conf.sample
@unexec echo If permanently deleting this package, %%PREFIX%%/etc/zetaback.conf and %%PREFIX%%/etc/zetaback.conf must be removed manually