wok diff php-gd/receipt @ rev 20285

Up libdrm-mach64 (20140830)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 02 10:26:51 2018 +0200 (2018-04-02)
parents 55f67249b264
children ccb0caebef6f
line diff
     1.1 --- a/php-gd/receipt	Tue Jun 03 01:07:29 2014 +0200
     1.2 +++ b/php-gd/receipt	Mon Apr 02 10:26:51 2018 +0200
     1.3 @@ -34,8 +34,8 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 -	grep -q ^extension=gd.so $1/etc/php.ini || \
     1.8 -	    sed -e 's|extension=msql.so|extension=msql.so\nextension=gd.so|' -i $1/etc/php.ini
     1.9 +	grep -q ^extension=gd.so "$1/etc/php.ini" || \
    1.10 +	    sed -e 's|extension=msql.so|extension=msql.so\nextension=gd.so|' -i "$1/etc/php.ini"
    1.11  	# Start Web server.
    1.12  	while read daemon file; do
    1.13  		[ -z "$1" ] || continue
    1.14 @@ -55,7 +55,7 @@
    1.15  # Pre and post remove commands for Tazpkg.
    1.16  pre_remove()
    1.17  {
    1.18 -	sed -i '/.*=gd.so.*/d' $1/etc/php.ini
    1.19 +	sed -i '/.*=gd.so.*/d' "$1/etc/php.ini"
    1.20  
    1.21  	# Start Web server.
    1.22  	while read daemon file; do