From fe7174cee95c446ea8ba1abd319953f9971c5d70 Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Sun, 17 Jun 2001 10:52:18 +0000 Subject: Add etc/ion/ion.conf management, it will be created from sample.conf if it doesn't yet exist. --- x11-wm/ion-2/pkg-plist | 5 +++-- x11-wm/ion-devel/pkg-plist | 5 +++-- x11-wm/ion/pkg-plist | 5 +++-- x11-wm/ion3/pkg-plist | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) (limited to 'x11-wm') diff --git a/x11-wm/ion-2/pkg-plist b/x11-wm/ion-2/pkg-plist index 58d5e79a687b..d9650d5ab706 100644 --- a/x11-wm/ion-2/pkg-plist +++ b/x11-wm/ion-2/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 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 diff --git a/x11-wm/ion/pkg-plist b/x11-wm/ion/pkg-plist index 58d5e79a687b..d9650d5ab706 100644 --- a/x11-wm/ion/pkg-plist +++ b/x11-wm/ion/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 diff --git a/x11-wm/ion3/pkg-plist b/x11-wm/ion3/pkg-plist index 58d5e79a687b..d9650d5ab706 100644 --- a/x11-wm/ion3/pkg-plist +++ b/x11-wm/ion3/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 -- cgit v1.2.3