diff options
author | olgeni <olgeni@FreeBSD.org> | 2001-06-17 10:52:18 +0000 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2001-06-17 10:52:18 +0000 |
commit | a61cd7d17cce36c2cea36be6593362d3a4adbf13 (patch) | |
tree | 548580d89fa033525a55e97d128b450f15b167b5 /x11-wm/ion-devel | |
parent | 14599998f5c454524954246147e44e1ad888ac3e (diff) | |
download | FreeBSD-ports-a61cd7d17cce36c2cea36be6593362d3a4adbf13.zip FreeBSD-ports-a61cd7d17cce36c2cea36be6593362d3a4adbf13.tar.gz |
Add etc/ion/ion.conf management, it will be created from sample.conf if it
doesn't yet exist.
Diffstat (limited to 'x11-wm/ion-devel')
-rw-r--r-- | x11-wm/ion-devel/pkg-plist | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-wm/ion-devel/pkg-plist b/x11-wm/ion-devel/pkg-plist index 58d5e79..d9650d5 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 |