aboutsummaryrefslogtreecommitdiff
path: root/www/cgichk/pkg-plist
diff options
context:
space:
mode:
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