From: Stephen L Johnson Date: Tue, 22 Feb 2000 05:11:22 +0000 (+0000) Subject: copying spong.conf.os files to SPONGETC/defaults for auto-config support X-Git-Tag: spong-2_7-alpha5~80 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ae2800711c6834828f70bfdc6f964aa7c0106b9;p=spong.git copying spong.conf.os files to SPONGETC/defaults for auto-config support --- diff --git a/build b/build index 690c560..ad2aeca 100755 --- 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 ) {