wok-current diff apache/receipt @ rev 19195

Add: BVI. Fast and lightweight binary (hex) editor.
author Leonardo Laporte <hackdorte@sapo.pt>
date Mon Jun 06 10:28:32 2016 -0300 (2016-06-06)
parents f7a4afe63ba6
children f0a0b5091b4a
line diff
     1.1 --- a/apache/receipt	Wed Mar 09 09:21:24 2016 +0100
     1.2 +++ b/apache/receipt	Mon Jun 06 10:28:32 2016 -0300
     1.3 @@ -70,7 +70,9 @@
     1.4  # We stop the server by default in case of upgarde.
     1.5  pre_install()
     1.6  {
     1.7 -	[ -z "$1" ] && [ -f /etc/init.d/$PACKAGE ] && /etc/init.d/$PACKAGE stop
     1.8 +	[ -z "$1" ] && for i in httpd lighttpd ngnix cherokee $PACKAGE ; do
     1.9 +		[ -f /etc/init.d/$i ] && /etc/init.d/$i stop
    1.10 +	done
    1.11  }
    1.12  
    1.13  post_install()