wok-6.x diff php/receipt @ rev 1583

php: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 16 08:07:14 2008 +0000 (2008-10-16)
parents dd7d91c4b11b
children 4e3c588a6fd3
line diff
     1.1 --- a/php/receipt	Sat Oct 11 20:21:26 2008 +0000
     1.2 +++ b/php/receipt	Thu Oct 16 08:07:14 2008 +0000
     1.3 @@ -88,8 +88,8 @@
     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 -
     1.9 +	  	sed -e 's|for PHP|for PHP\nfastcgi.map-extensions = ( ".php3" => ".php", ".php4" => ".php", ".php5" => ".php" )|' \
    1.10 +	  	    -i $1/etc/lighttpd/lighttpd.conf
    1.11  	fi
    1.12  	# Start Web server.
    1.13  	if [ -z "$1" -a ! -f "/var/run/lighttpd.pid" ]; then