From 43912a6be5d80c09f4aeee76772becda46b6f905 Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Fri, 14 Jul 2000 04:01:43 +0000 Subject: [PATCH] updated install to build /var directory in spong installation dir --- build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build b/build index d6f37d4..2334bea 100755 --- a/build +++ b/build @@ -13,6 +13,7 @@ $ETCDIR = "$PREFIX/etc"; $LIBDIR = "$PREFIX/lib"; $WWWDIR = "$PREFIX/www"; $CGIDIR = "$PREFIX/cgi-bin"; +$VARDIR = "$PREFIX/var"; # Directory where spong will put data $WEBUSER = "nobody"; @@ -26,6 +27,7 @@ $IETCDIR = "$IPREFIX/etc"; $ILIBDIR = "$IPREFIX/lib"; $IWWWDIR = "$IPREFIX/www"; $ICGIDIR = "$IPREFIX/cgi-bin"; +$IVARDIR = "$IPREFIX/var"; # Directory where spong will put data # ----------------------------------------------------------------------------- # You really really shouldn't need to change anything below this point (I hope) @@ -126,6 +128,11 @@ sub install { ssystem( "mkdir -p $IETCDIR" ) if ! -d $IETCDIR; ssystem( "cp etc/* $IETCDIR/" ); + ssystem( "mkdir -p $IVARDIR" ) if ! -d $IVARDIR; + ssystem( "mkdir -p $IVARDIR/database" ); + ssystem( "mkdir -p $IVARDIR/archives" ); + ssystem( "mkdir -p $IVARDIR/misc" ); + # TODO - Clean this up... ssystem( "mkdir -p $ILIBDIR" ) if ! -d $ILIBDIR; -- 2.30.2