diff options
author | cy <cy@FreeBSD.org> | 2009-03-03 08:07:44 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2009-03-03 08:07:44 +0800 |
commit | 7d91fa0e297ac3b9ac6079522163e9688bf93ba8 (patch) | |
tree | 74c491044ee3eb9aac50b840c50a883cd4d0cf1f /sysutils/zetaback/pkg-plist | |
parent | 6f343db284324b50bea6b29ce2b9a42d02f993e3 (diff) | |
download | freebsd-ports-gnome-7d91fa0e297ac3b9ac6079522163e9688bf93ba8.tar.gz freebsd-ports-gnome-7d91fa0e297ac3b9ac6079522163e9688bf93ba8.tar.zst freebsd-ports-gnome-7d91fa0e297ac3b9ac6079522163e9688bf93ba8.zip |
Delete configuration files if they have not been altered by the user.
Suggested by: pav
Diffstat (limited to 'sysutils/zetaback/pkg-plist')
-rw-r--r-- | sysutils/zetaback/pkg-plist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/zetaback/pkg-plist b/sysutils/zetaback/pkg-plist index 28dc85541b43..cedd2d695ea1 100644 --- a/sysutils/zetaback/pkg-plist +++ b/sysutils/zetaback/pkg-plist @@ -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 |