wok-current diff php-pdo-mysql/receipt @ rev 19524

Up: usb-modeswitch (2.4.0), usb-modeswitch-data (20160612)
author Richard Dunbar <mojo@slitaz.org>
date Sun Nov 27 20:58:51 2016 -0500 (2016-11-27)
parents 55f67249b264
children ccb0caebef6f
line diff
     1.1 --- a/php-pdo-mysql/receipt	Tue Jun 03 01:07:29 2014 +0200
     1.2 +++ b/php-pdo-mysql/receipt	Sun Nov 27 20:58:51 2016 -0500
     1.3 @@ -34,8 +34,8 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	grep -q ^extension=pdo_mysql.so $1/etc/php.ini || \
     1.8 -	    sed -e 's|extension=msql.so|extension=msql.so\nextension=pdo_mysql.so|' -i $1/etc/php.ini
     1.9 +	grep -q ^extension=pdo_mysql.so "$1/etc/php.ini" || \
    1.10 +	    sed -e 's|extension=msql.so|extension=msql.so\nextension=pdo_mysql.so|' -i "$1/etc/php.ini"
    1.11  	# Start Web server.
    1.12  	while read daemon file; do
    1.13  		[ -z "$1" ] || continue