wok 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 4da89e6150fe
children c7968a159ca2
files php/receipt
line diff
     1.1 --- a/php/receipt	Thu Oct 23 20:35:54 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.