wok-6.x diff tazwikiss/receipt @ rev 8832
slitaz-dev-tools is now a meta package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 24 16:15:12 2011 +0100 (2011-02-24) |
parents | 19914b75dc51 |
children | bf6db9997f47 |
line diff
1.1 --- a/tazwikiss/receipt Fri Nov 05 01:05:36 2010 +0100 1.2 +++ b/tazwikiss/receipt Thu Feb 24 16:15:12 2011 +0100 1.3 @@ -64,16 +64,16 @@ 1.4 cat > $1/etc/httpd.conf <<EOT 1.5 H:/var/www 1.6 A:0.0.0.0/0 1.7 -*.sh:/bin/sh 1.8 EOT 1.9 fi 1.10 while read line; do 1.11 - grep -q "$line" $1/etc/httpd.conf || continue 1.12 + grep -q "$line" $1/etc/httpd.conf && continue 1.13 echo "$line" >> $1/etc/httpd.conf 1.14 done <<EOT 1.15 -I:index.sh 1.16 *.sh:/bin/sh 1.17 EOT 1.18 + grep -q ' httpd ' $1/etc/rcS.conf || 1.19 + sed -i 's/ slim"/ httpd slim"/' $1/etc/rcS.conf 1.20 if [ -z "$1" ]; then 1.21 # Start Web server. 1.22 /etc/init.d/httpd stop