wok diff apache/receipt @ rev 16874

Up atk-dev (2.7.5)
author Yuri Pourre <yuripourre@gmail.com>
date Sun Jul 13 13:06:14 2014 -0300 (2014-07-13)
parents 854aac736a5d
children f2bdc266fba2
line diff
     1.1 --- a/apache/receipt	Tue Oct 15 22:45:52 2013 +0000
     1.2 +++ b/apache/receipt	Sun Jul 13 13:06:14 2014 -0300
     1.3 @@ -78,7 +78,7 @@
     1.4  	# Just in case.
     1.5  	chown www.www $1/var/log/$PACKAGE
     1.6  	ping -c 2 $(hostname) > /dev/null 2>&1 || 
     1.7 -		sed -i "s/localhost/$(hostname) localhost/" /etc/hosts
     1.8 +		sed -i "s/localhost/$(hostname) localhost/" $1/etc/hosts
     1.9  	[ -s $1/etc/ssl/apache/apache.pem ] ||
    1.10  	openssl req -new -x509 -keyout $1/etc/ssl/apache/apache.pem \
    1.11  		-out $1/etc/ssl/apache/apache.pem -days 3650 -nodes <<EOT
    1.12 @@ -97,6 +97,7 @@
    1.13  		echo "Reconfiguring $pkg for $PACKAGE..."
    1.14  		tazpkg reconfigure $pkg
    1.15  	done
    1.16 +	[ -f $1/etc/php.ini ] && tazpkg get-install php-apache --root=$1
    1.17  	if [ -z "$1" ]; then
    1.18  		for i in lighttpd ; do
    1.19  			[ -f /etc/init.d/$i ] && /etc/init.d/$i stop