wok-6.x 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 | 9086fe5a349b |
children | 5fed854bdc18 |
files | php/receipt |
line diff
1.1 --- a/php/receipt Thu Oct 16 07:39:09 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