From 559fb6f7bd83f2233f28f6bed7ec16e0fc9f4b6a Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 28 Jun 2003 19:18:42 +0000 Subject: Change to a more generic location of default index page master. --- localwebstats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'localwebstats') diff --git a/localwebstats b/localwebstats index d95fe65..a5ddbfa 100755 --- a/localwebstats +++ b/localwebstats @@ -3,7 +3,7 @@ # /usr/local/sbin/localwebstats # Copyright 2001-2002 Jonas Smedegaard # -# $Id: localwebstats,v 1.26 2003-05-25 03:28:24 jonas Exp $ +# $Id: localwebstats,v 1.27 2003-06-28 19:18:42 jonas Exp $ # # Webstats maintenance script # @@ -103,7 +103,7 @@ function rmagic_cfg() { echo /etc/rmagic/rmagic_$3.conf; } function webalizer_cfg() { echo /etc/webalizer_$3.conf; } function modlogan_cfg() { echo /etc/modlogan/modlogan_$3.conf; } function pre_init() { true; } -function post_init() { [ -f /var/www/VIRTUAL/stats.jones.dk/www/COMMON/index.html ] && cp /var/www/VIRTUAL/stats.jones.dk/www/COMMON/index.html `statsdir $1 $2 $3`/; } +function post_init() { [ -f $2/COMMON/index.html ] && cp $2/COMMON/index.html `statsdir $1 $2 $3`/; } function pre_update() { true; } function post_update() { true; } -- cgit v1.2.3