wok diff php-pdo-pgsql/receipt @ rev 19028

Up slitaz-tools-boxes: (975)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 03 13:42:07 2016 +0200 (2016-04-03)
parents 55f67249b264
children ccb0caebef6f
line diff
     1.1 --- a/php-pdo-pgsql/receipt	Tue Jun 03 01:07:29 2014 +0200
     1.2 +++ b/php-pdo-pgsql/receipt	Sun Apr 03 13:42:07 2016 +0200
     1.3 @@ -34,8 +34,8 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	grep -q ^extension=pdo_pgsql.so $1/etc/php.ini || \
     1.8 -	    sed -e 's|extension=msql.so|extension=msql.so\nextension=pdo_pgsql.so|' -i $1/etc/php.ini
     1.9 +	grep -q ^extension=pdo_pgsql.so "$1/etc/php.ini" || \
    1.10 +	    sed -e 's|extension=msql.so|extension=msql.so\nextension=pdo_pgsql.so|' -i "$1/etc/php.ini"
    1.11  	# Start Web server.
    1.12  	while read daemon file; do
    1.13  		[ -z "$1" ] || continue