]> git.etc.gen.nz Git - spong.git/commitdiff
copying spong.conf.os files to SPONGETC/defaults for auto-config support
authorStephen L Johnson <sjohnson@monsters.org>
Tue, 22 Feb 2000 05:11:22 +0000 (05:11 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Tue, 22 Feb 2000 05:11:22 +0000 (05:11 +0000)
build

diff --git a/build b/build
index 690c560137f0323799bd5d9506f0cbb42cf8a203..ad2aecaca0a45121285fe1e7a7b8ee33bb296e37 100755 (executable)
--- a/build
+++ b/build
@@ -84,6 +84,12 @@ sub build {
    ssystem( "cp ./config/spong.groups ./etc/spong.groups" );
    ssystem( "cp ./config/spong.message ./etc/spong.message" );
    ssystem( "cat ./config/spong.conf.$os >> ./etc/spong.conf" );
+
+   ssystem( "mkdir ./etc/default") if ! -d "./etc/default";
+   ssystem("cp ./config/spong.conf  ./etc/default/spong.conf.$o" );
+   foreach my $o ( keys %known_os ) {
+      ssystem("cp ./config/spong.conf.$o  ./etc/default/spong.conf.$o" );
+   }
   
    ssystem( "mkdir ./bin" ) if ! -d "./bin";
    foreach $file ( @bin )  {