# HG changeset patch # User Pascal Bellard # Date 1224144434 0 # Node ID ab5634a4f0750f78f7d8c0b7a31ee8c7ad1c3a8e # Parent 9086fe5a349ba144876e3a9c29af87d26830bc8c php: fix post_install diff -r 9086fe5a349b -r ab5634a4f075 php/receipt --- a/php/receipt Thu Oct 16 07:39:09 2008 +0000 +++ b/php/receipt Thu Oct 16 08:07:14 2008 +0000 @@ -88,8 +88,8 @@ sed -e 's|server.modules = (|server.modules = (\n "mod_fastcgi",|' \ -i $1/etc/lighttpd/lighttpd.conf grep -q php3 $1/etc/lighttpd/lighttpd.conf || \ - sed -e 's|for PHP|for PHP\nfastcgi.map-extensions = ( ".php3" => ".php", ".php4" => ".php", ".php5" => ".php" )|' - + sed -e 's|for PHP|for PHP\nfastcgi.map-extensions = ( ".php3" => ".php", ".php4" => ".php", ".php5" => ".php" )|' \ + -i $1/etc/lighttpd/lighttpd.conf fi # Start Web server. if [ -z "$1" -a ! -f "/var/run/lighttpd.pid" ]; then