wok-next diff php-snmp/receipt @ rev 19853

Up cookutils, slitaz-configs, slitaz-tools, slitaz-tools-boxes, terminus-font.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 02 16:37:59 2017 +0300 (2017-09-02)
parents 55f67249b264
children
line diff
     1.1 --- a/php-snmp/receipt	Tue Jun 03 01:07:29 2014 +0200
     1.2 +++ b/php-snmp/receipt	Sat Sep 02 16:37:59 2017 +0300
     1.3 @@ -34,8 +34,8 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	grep -q ^extension=snmp.so $1/etc/php.ini || \
     1.8 -	    sed -e 's|extension=msql.so|extension=msql.so\nextension=snmp.so|' -i $1/etc/php.ini
     1.9 +	grep -q ^extension=snmp.so "$1/etc/php.ini" || \
    1.10 +	    sed -e 's|extension=msql.so|extension=msql.so\nextension=snmp.so|' -i "$1/etc/php.ini"
    1.11  	# Start Web server.
    1.12  	while read daemon file; do
    1.13  		[ -z "$1" ] || continue