summaryrefslogtreecommitdiff
path: root/x11-wm/ion-devel
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-06-17 10:52:18 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-06-17 10:52:18 +0000
commitfe7174cee95c446ea8ba1abd319953f9971c5d70 (patch)
tree738b134532c067a797c98eef34eefea9c83ac148 /x11-wm/ion-devel
parentAdd proper management of etc/system.fvwm2rc (preserve changes at deinstall (diff)
Add etc/ion/ion.conf management, it will be created from sample.conf if it
doesn't yet exist.
Notes
Notes: svn path=/head/; revision=44100
Diffstat (limited to 'x11-wm/ion-devel')
-rw-r--r--x11-wm/ion-devel/pkg-plist5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-wm/ion-devel/pkg-plist b/x11-wm/ion-devel/pkg-plist
index 58d5e79a687b..d9650d5ab706 100644
--- a/x11-wm/ion-devel/pkg-plist
+++ b/x11-wm/ion-devel/pkg-plist
@@ -11,12 +11,13 @@ etc/ion/look-brownsteel.conf
etc/ion/look-greyviolet.conf
etc/ion/look-simpleblue.conf
etc/ion/look-wheat.conf
+@unexec if cmp -s %D/etc/ion/ion.conf %D/etc/ion/sample.conf; then rm -f %D/etc/ion/ion.conf; fi
etc/ion/sample.conf
-etc/ion/ion.conf
+@exec [ -f %B/ion.conf ] || cp %B/%f %B/ion.conf
%%PORTDOCS%%share/doc/ion/README
%%PORTDOCS%%share/doc/ion/LICENSE
%%PORTDOCS%%share/doc/ion/ChangeLog
%%PORTDOCS%%share/doc/ion/config.txt
%%PORTDOCS%%share/doc/ion/functions.txt
%%PORTDOCS%%@dirrm share/doc/ion
-@dirrm etc/ion
+@unexec rmdir %D/etc/ion 2>/dev/null || true