wok-6.x diff php/receipt @ rev 1635
php: fix lighttpd.conf update
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 23 20:38:19 2008 +0000 (2008-10-23) |
parents | ab5634a4f075 |
children | 82beb3f42c4b |
line diff
1.1 --- a/php/receipt Thu Oct 16 08:07:14 2008 +0000 1.2 +++ b/php/receipt Thu Oct 23 20:38:19 2008 +0000 1.3 @@ -88,7 +88,7 @@ 1.4 sed -e 's|server.modules = (|server.modules = (\n "mod_fastcgi",|' \ 1.5 -i $1/etc/lighttpd/lighttpd.conf 1.6 grep -q php3 $1/etc/lighttpd/lighttpd.conf || \ 1.7 - sed -e 's|for PHP|for PHP\nfastcgi.map-extensions = ( ".php3" => ".php", ".php4" => ".php", ".php5" => ".php" )|' \ 1.8 + sed -e 's|for PHP.*|for PHP.\nfastcgi.map-extensions = ( ".php3" => ".php", ".php4" => ".php", ".php5" => ".php" )|' \ 1.9 -i $1/etc/lighttpd/lighttpd.conf 1.10 fi 1.11 # Start Web server.