wok-next rev 1204
lighttpd: fix warning in pre-install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 08 19:19:48 2008 +0000 (2008-08-08) |
parents | 0945fbc42957 |
children | 25993750a8d7 |
files | lighttpd/receipt |
line diff
1.1 --- a/lighttpd/receipt Fri Aug 08 16:47:03 2008 +0000 1.2 +++ b/lighttpd/receipt Fri Aug 08 19:19:48 2008 +0000 1.3 @@ -75,7 +75,7 @@ 1.4 pre_install() 1.5 { 1.6 echo "Processing pre-install commands..." 1.7 - /etc/init.d/$PACKAGE stop 1.8 + [ -f /etc/init.d/$PACKAGE ] && /etc/init.d/$PACKAGE stop 1.9 } 1.10 post_install() 1.11 {