# HG changeset patch # User Pascal Bellard # Date 1376573102 0 # Node ID 7f6b04cd013abe58526738126373c6c23ec3c422 # Parent 08883c298a1f605cd356872a179a3f584b06c286 php: fix post_install diff -r 08883c298a1f -r 7f6b04cd013a php/receipt --- a/php/receipt Thu Aug 15 13:17:47 2013 +0000 +++ b/php/receipt Thu Aug 15 13:25:02 2013 +0000 @@ -112,7 +112,8 @@ -i $1/etc/lighttpd/lighttpd.conf fi # Start Web server. - if [ -z "$1" -a ! -f "/var/run/lighttpd.pid" ]; then + if [ -z "$1" -a ! -f /var/run/lighttpd.pid \ + -a -f /etc/init.d/lighttpd ]; then /etc/init.d/lighttpd start fi }