wok-6.x rev 1788
lighttpd-ssl: fix pre/post install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 30 15:33:31 2008 +0000 (2008-11-30) |
parents | d04d6857c1c5 |
children | 7234df7d8692 |
files | lighttpd-ssl/receipt |
line diff
1.1 --- a/lighttpd-ssl/receipt Sun Nov 30 15:28:35 2008 +0000 1.2 +++ b/lighttpd-ssl/receipt Sun Nov 30 15:33:31 2008 +0000 1.3 @@ -82,7 +82,7 @@ 1.4 pre_install() 1.5 { 1.6 echo "Processing pre-install commands..." 1.7 - [ -f /etc/init.d/$PACKAGE ] && /etc/init.d/$PACKAGE stop 1.8 + [ -f /etc/init.d/lighttpd ] && /etc/init.d/lighttpd stop 1.9 } 1.10 post_install() 1.11 { 1.12 @@ -90,6 +90,6 @@ 1.13 root=$1 1.14 echo "Processing post-install commands..." 1.15 # Just in case. 1.16 - chown www.www $root/var/log/$PACKAGE 1.17 - /etc/init.d/$PACKAGE start 1.18 + chown www.www $root/var/log/lighttpd 1.19 + /etc/init.d/lighttpd start 1.20 }