aboutsummaryrefslogtreecommitdiff
path: root/www/cgichk/pkg-plist
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-12-29 16:20:08 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-12-29 16:20:08 +0000
commitfc95198074256c36fd15960414f108d0f5fc430c (patch)
treed73fffd80c9a2b770ae022fd6b8c5a11077d30e2 /www/cgichk/pkg-plist
parenteb32afc13bd280341f1d778b9a898908c9ce16ee (diff)
downloadports-fc95198074256c36fd15960414f108d0f5fc430c.tar.gz
ports-fc95198074256c36fd15960414f108d0f5fc430c.zip
Notes
Diffstat (limited to 'www/cgichk/pkg-plist')
-rw-r--r--www/cgichk/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/cgichk/pkg-plist b/www/cgichk/pkg-plist
index 8d9bf0993b74..bb4ad3828a85 100644
--- a/www/cgichk/pkg-plist
+++ b/www/cgichk/pkg-plist
@@ -1,2 +1,4 @@
bin/cgichk
+@unexec if cmp -s %D/etc/cgichk.cfg %D/etc/cgichk.cfg.sample; then rm -f %D/etc/cgichk.cfg; fi
etc/cgichk.cfg.sample
+@exec if [ ! -f %B/cgichk.cfg ]; then cp -p %B/%f %B/cgichk.cfg; fi