$LIBDIR = "$PREFIX/lib";
$WWWDIR = "$PREFIX/www";
$CGIDIR = "$PREFIX/cgi-bin";
+$VARDIR = "$PREFIX/var"; # Directory where spong will put data
$WEBUSER = "nobody";
$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)
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;