wok diff awstats/receipt @ rev 5160
tazdev: add new cmd in usage
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 24 21:48:38 2010 +0100 (2010-03-24) |
parents | 06717613b92c |
children | 92ad1f7ee59a |
line diff
1.1 --- a/awstats/receipt Thu Dec 31 00:04:35 2009 +0100 1.2 +++ b/awstats/receipt Wed Mar 24 21:48:38 2010 +0100 1.3 @@ -41,8 +41,8 @@ 1.4 if [ -f $1/etc/apache/httpd.conf ]; then 1.5 if [ ! -f $1/etc/apache/conf.d/awstats.conf ]; then 1.6 1.7 - cp /usr/share/awstats/extras/awstats-apache.conf \ 1.8 - /etc/apache/conf.d/awstats.conf 1.9 + cp $1/usr/share/awstats/extras/awstats-apache.conf \ 1.10 + $1/etc/apache/conf.d/awstats.conf 1.11 fi 1.12 if [ -z "$1" ]; then 1.13 # Start Web server if necessary. 1.14 @@ -54,8 +54,8 @@ 1.15 1.16 if [ -f $1/etc/lighttpd/lighttpd.conf ]; then 1.17 if [ ! -f $1/etc/lighttpd/awstats.conf ]; then 1.18 - cp /usr/share/awstats/extras/awstats-lighttpd.conf \ 1.19 - /etc/lighttpd/awstats.conf 1.20 + cp $1/usr/share/awstats/extras/awstats-lighttpd.conf \ 1.21 + $1/etc/lighttpd/awstats.conf 1.22 fi 1.23 # Start Web server if necessary. 1.24 if [ -f /var/run/lighttpd.pid ]; then