wok-6.x diff webalizer/receipt @ rev 2535
Add dropbox (Online file storage tool) - Yes I know wok is freez...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 22 01:21:14 2009 +0100 (2009-03-22) |
parents | f606ce8506ca |
children | 2e6c38769fae |
line diff
1.1 --- a/webalizer/receipt Sun Jan 04 09:43:17 2009 +0000 1.2 +++ b/webalizer/receipt Sun Mar 22 01:21:14 2009 +0100 1.3 @@ -40,7 +40,7 @@ 1.4 { 1.5 grep -q webalizer $1/etc/init.d/local.sh || \ 1.6 cat >> $1/etc/init.d/local.sh <<EOT 1.7 -/usr/bin/webalizer -o /var/www/webalizer /var/log/apache/access_log 1.8 +[ -f /var/www/webalizer/index.html ] || /usr/bin/webalizer -o /var/www/webalizer /var/log/apache/access_log 1.9 EOT 1.10 if [ -z "$1" ]; then 1.11 webalizer -o /var/www/webalizer /var/log/apache/access_log