From 0ae2800711c6834828f70bfdc6f964aa7c0106b9 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Tue, 22 Feb 2000 05:11:22 +0000 Subject: [PATCH] copying spong.conf.os files to SPONGETC/defaults for auto-config support --- build | 6 ++++++ 1 file changed, 6 insertions(+) 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 ) { -- 2.30.2