wok-next diff webalizer/receipt @ rev 2558

hydra: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 16:03:04 2009 +0000 (2009-03-26)
parents f606ce8506ca
children 2e6c38769fae
line diff
     1.1 --- a/webalizer/receipt	Sun Jan 04 09:43:17 2009 +0000
     1.2 +++ b/webalizer/receipt	Thu Mar 26 16:03:04 2009 +0000
     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