]> git.etc.gen.nz Git - spong.git/commitdiff
removed copy statements for /etc/default. added spong.message to upgrade()
authorStephen L Johnson <sjohnson@monsters.org>
Wed, 1 Mar 2000 22:20:04 +0000 (22:20 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Wed, 1 Mar 2000 22:20:04 +0000 (22:20 +0000)
build

diff --git a/build b/build
index 7f3d37be6c54aea3bc815a0477bd037d3ca2aac2..e4af110cbc11562427623986d16af73daa66bd82 100755 (executable)
--- a/build
+++ b/build
@@ -88,10 +88,10 @@ sub build {
    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("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 )  { 
@@ -173,6 +173,7 @@ sub upgrade {
    ssystem( "cp etc/spong.conf $IETCDIR/spong.conf.dist" );
    ssystem( "cp etc/spong.hosts $IETCDIR/spong.hosts.dist" );
    ssystem( "cp etc/spong.groups $IETCDIR/spong.groups.dist" );
+   ssystem( "cp etc/spong.message $IETCDIR/spong.message.dist" );
 
    # Your web server needs to be able to access these files
    ssystem( "chmod 751 $IETCDIR" );