Add etc/ion/ion.conf management, it will be created from sample.conf if it

doesn't yet exist.
This commit is contained in:
Jimmy Olgeni 2001-06-17 10:52:18 +00:00
parent 1802695c03
commit fe7174cee9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44100
4 changed files with 12 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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