wok rev 15149
php: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 13:25:02 2013 +0000 (2013-08-15) |
parents | 08883c298a1f |
children | f315dcaf1948 |
files | php/receipt |
line diff
1.1 --- a/php/receipt Thu Aug 15 13:17:47 2013 +0000 1.2 +++ b/php/receipt Thu Aug 15 13:25:02 2013 +0000 1.3 @@ -112,7 +112,8 @@ 1.4 -i $1/etc/lighttpd/lighttpd.conf 1.5 fi 1.6 # Start Web server. 1.7 - if [ -z "$1" -a ! -f "/var/run/lighttpd.pid" ]; then 1.8 + if [ -z "$1" -a ! -f /var/run/lighttpd.pid \ 1.9 + -a -f /etc/init.d/lighttpd ]; then 1.10 /etc/init.d/lighttpd start 1.11 fi 1.12 }