wok diff freetype-infinality/receipt @ rev 20255

firefox, thunderbird: try to force i686
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 21:40:37 2018 +0100 (2018-03-13)
parents dfef8de3d270
children a78610b2eb47
line diff
     1.1 --- a/freetype-infinality/receipt	Fri Jan 30 10:17:37 2015 +0100
     1.2 +++ b/freetype-infinality/receipt	Tue Mar 13 21:40:37 2018 +0100
     1.3 @@ -50,21 +50,21 @@
     1.4  post_install()
     1.5  {
     1.6  	# SliTaz not support /etc/profile.d/ by default, but use /etc/profile file
     1.7 -	cat >> $1/etc/profile << EOT
     1.8 +	cat >> "$1/etc/profile" << EOT
     1.9  
    1.10  # freetype-infinality profile settings
    1.11  . /etc/profile.d/infinality-settings.sh
    1.12  EOT
    1.13  
    1.14  	# add patched libs to loader config
    1.15 -	echo '/usr/lib/freetype-infinality' >> $1/etc/ld.so.conf
    1.16 +	echo '/usr/lib/freetype-infinality' >> "$1/etc/ld.so.conf"
    1.17  	chroot "$1/" ldconfig
    1.18  	echo 'Now you can log out/in to take effect on all your apps'
    1.19  }
    1.20  
    1.21  post_remove()
    1.22  {
    1.23 -	sed -i '/infinality/d' $1/etc/profile
    1.24 -	sed -i '/freetype-infinality/d' $1/etc/ld.so.conf
    1.25 +	sed -i '/infinality/d' "$1/etc/profile"
    1.26 +	sed -i '/freetype-infinality/d' "$1/etc/ld.so.conf"
    1.27  	chroot "$1/" ldconfig
    1.28  }