diff options
author | olgeni <olgeni@FreeBSD.org> | 2001-06-17 18:52:18 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2001-06-17 18:52:18 +0800 |
commit | a61cd7d17cce36c2cea36be6593362d3a4adbf13 (patch) | |
tree | 548580d89fa033525a55e97d128b450f15b167b5 | |
parent | 14599998f5c454524954246147e44e1ad888ac3e (diff) | |
download | freebsd-ports-gnome-a61cd7d17cce36c2cea36be6593362d3a4adbf13.tar.gz freebsd-ports-gnome-a61cd7d17cce36c2cea36be6593362d3a4adbf13.tar.zst freebsd-ports-gnome-a61cd7d17cce36c2cea36be6593362d3a4adbf13.zip |
Add etc/ion/ion.conf management, it will be created from sample.conf if it
doesn't yet exist.
-rw-r--r-- | x11-wm/ion-2/pkg-plist | 5 | ||||
-rw-r--r-- | x11-wm/ion-devel/pkg-plist | 5 | ||||
-rw-r--r-- | x11-wm/ion/pkg-plist | 5 | ||||
-rw-r--r-- | x11-wm/ion3/pkg-plist | 5 |
4 files changed, 12 insertions, 8 deletions
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 |