wok-stable diff apache/receipt @ rev 11275
Up: lxappearance (0.5.1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Nov 10 03:10:17 2011 +0000 (2011-11-10) |
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 10 03:10:17 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#*_})