# HG changeset patch # User Pascal Bellard # Date 1228059211 0 # Node ID dcc4ea6cb102f8e799eeec6f5818ed554d8bfe39 # Parent d04d6857c1c58ca8300b02815002bba7744a7043 lighttpd-ssl: fix pre/post install diff -r d04d6857c1c5 -r dcc4ea6cb102 lighttpd-ssl/receipt --- a/lighttpd-ssl/receipt Sun Nov 30 15:28:35 2008 +0000 +++ b/lighttpd-ssl/receipt Sun Nov 30 15:33:31 2008 +0000 @@ -82,7 +82,7 @@ pre_install() { echo "Processing pre-install commands..." - [ -f /etc/init.d/$PACKAGE ] && /etc/init.d/$PACKAGE stop + [ -f /etc/init.d/lighttpd ] && /etc/init.d/lighttpd stop } post_install() { @@ -90,6 +90,6 @@ root=$1 echo "Processing post-install commands..." # Just in case. - chown www.www $root/var/log/$PACKAGE - /etc/init.d/$PACKAGE start + chown www.www $root/var/log/lighttpd + /etc/init.d/lighttpd start }