wok diff apache/receipt @ rev 11303

Up: kismet (2011-08-R1)
author Alexander Medvedev <devl547@gmail.com>
date Sat Nov 12 22:29:28 2011 +0000 (2011-11-12)
parents 3a281a978a7a
children 8e4c74abdf74
line diff
     1.1 --- a/apache/receipt	Tue Sep 13 13:48:32 2011 +0000
     1.2 +++ b/apache/receipt	Sat Nov 12 22:29:28 2011 +0000
     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#*_})