wok diff freetype-infinality/receipt @ rev 19903
linld/tazboot: fix memcpy32
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 09 12:22:58 2017 +0200 (2017-04-09) |
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 Sun Apr 09 12:22:58 2017 +0200 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 }