]> git.etc.gen.nz Git - spong.git/commitdiff
added wap-spong into install routine
authorStephen L Johnson <sjohnson@monsters.org>
Mon, 25 Sep 2000 20:51:22 +0000 (20:51 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Mon, 25 Sep 2000 20:51:22 +0000 (20:51 +0000)
build

diff --git a/build b/build
index 38fdfacfb970fc6feb32eab88699ffe6c135d4da..fd767562cdd2fbe341d4d48955e42c916df95148 100755 (executable)
--- a/build
+++ b/build
@@ -40,7 +40,7 @@ $ITMPDIR   = "$IPREFIX/tmp";      # update $SPONGTMP var in spong.conf also
              spong-ack spong-cleanup spong-status);
 @lib    = qw( Ack AckList History HistoryList Host HostList Info Service
              ServiceList );
-@cgibin = qw( www-spong www-spong-ack );
+@cgibin = qw( www-spong www-spong-ack wap-spong);
 
 # Make sure that we are running build in the directory where things are
 # unpacked.  This is kind of a lame check, but good enough for now...
@@ -158,6 +158,7 @@ sub install {
    ssystem( "mkdir -p $ICGIDIR" ) if ! -d $ICGIDIR;
    ssystem( "cp ./cgi-bin/www-spong $ICGIDIR/www-spong" );
    ssystem( "cp ./cgi-bin/www-spong-ack $ICGIDIR/www-spong-ack" );
+   ssystem( "cp ./cgi-bin/wap-spong $ICGIDIR/wap-spong" );
    ssystem( "chmod u=rx,go=r $ICGIDIR/*spong*" ); # Let's be conservative
    ssystem( "chown $WEBUSER $ICGIDIR/*spong*" );
 
@@ -205,6 +206,7 @@ sub upgrade {
    ssystem( "mkdir -p $ICGIDIR" ) if ! -d $ICGIDIR;
    ssystem( "cp ./cgi-bin/www-spong $ICGIDIR/www-spong" );
    ssystem( "cp ./cgi-bin/www-spong-ack $ICGIDIR/www-spong-ack" );
+   ssystem( "cp ./cgi-bin/wap-spong $ICGIDIR/wap-spong" );
    ssystem( "chmod ugo+rwx,go-w $ICGIDIR/*spong*" );
    ssystem( "chown $WEBUSER $ICGIDIR/*spong*" );
 }