wok-current diff apache-mod-wsgi/receipt @ rev 19466

Up: libgsf (1.14.40), goffice (0.10.32), gnumeric (1.12.32).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 25 01:28:09 2016 +0300 (2016-10-25)
parents 191b99ca9dc2
children 03509d491272
line diff
     1.1 --- a/apache-mod-wsgi/receipt	Wed Oct 02 10:41:05 2013 +0000
     1.2 +++ b/apache-mod-wsgi/receipt	Tue Oct 25 01:28:09 2016 +0300
     1.3 @@ -34,13 +34,13 @@
     1.4  post_install()
     1.5  {
     1.6  		# Enable WSGI module
     1.7 -		echo "# Python WSGI module" >> $1/etc/apache/httpd.conf
     1.8 -		echo "Include /etc/apache/extra/httpd-mod-wsgi.conf  " >> $1/etc/apache/httpd.conf
     1.9 +		echo "# Python WSGI module" >> "$1/etc/apache/httpd.conf"
    1.10 +		echo "Include /etc/apache/extra/httpd-mod-wsgi.conf  " >> "$1/etc/apache/httpd.conf"
    1.11  }
    1.12  
    1.13  post_remove()
    1.14  {
    1.15  		# Remove WSGI configuration
    1.16 -		sed -i s/\# Python.*// $1/etc/apache/httpd.conf
    1.17 -		sed -i s/.*httpd-mod-wsgi.conf// $1/etc/apache/httpd.conf
    1.18 +		sed -i s/\# Python.*// "$1/etc/apache/httpd.conf"
    1.19 +		sed -i s/.*httpd-mod-wsgi.conf// "$1/etc/apache/httpd.conf"
    1.20  }