wok diff apache/receipt @ rev 11206

Up libruby-extras (1.9.2-p180)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 03 11:11:08 2011 +0100 (2011-11-03)
parents 3a281a978a7a
children 8e4c74abdf74
line diff
     1.1 --- a/apache/receipt	Tue Sep 13 13:48:32 2011 +0000
     1.2 +++ b/apache/receipt	Thu Nov 03 11:11:08 2011 +0100
     1.3 @@ -69,6 +69,7 @@
     1.4  	chown www.www $1/var/log/$PACKAGE
     1.5  	ping -c 2 $(hostname) > /dev/null 2>&1 || 
     1.6  		sed -i "s/localhost/$(hostname) localhost/" /etc/hosts
     1.7 +	[ -s $1/etc/ssl/apache/apache.pem ] ||
     1.8  	openssl req -new -x509 -keyout $1/etc/ssl/apache/apache.pem \
     1.9  		-out $1/etc/ssl/apache/apache.pem -days 3650 -nodes <<EOT
    1.10  $(. /etc/locale.conf ; echo ${LANG#*_})