aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/penv/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/penv/pkg-plist')
-rw-r--r--sysutils/penv/pkg-plist4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/penv/pkg-plist b/sysutils/penv/pkg-plist
index dc3da73171ae..8d3647c5eb8b 100644
--- a/sysutils/penv/pkg-plist
+++ b/sysutils/penv/pkg-plist
@@ -1,6 +1,10 @@
bin/penv
+@unexec if cmp -s %D/etc/penv.conf %D/etc/penv.conf.default; then rm -f %D/etc/penv.conf; fi
etc/penv.conf.default
+@exec [ -f %B/penv.conf ] || cp %B/%f %B/penv.conf
%%PORTDOCS%%share/doc/penv/html/created.with.vim.gif
%%PORTDOCS%%share/doc/penv/html/index.html
%%PORTDOCS%%@dirrm share/doc/penv/html
%%PORTDOCS%%@dirrm share/doc/penv
+@exec mkdir -p %%DBDIR%%
+@unexec rmdir %%DBDIR%% 2>/dev/null || true