wok-6.x rev 9907

slitaz-icon: fix sed (must be befor cd to find file) and avois error with latlito/tazpkg --root=
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 15:18:51 2011 +0200 (2011-05-17)
parents 6a08dab7492f
children 55c8976cc71a
files slitaz-icon/receipt
line diff
     1.1 --- a/slitaz-icon/receipt	Tue May 17 15:15:04 2011 +0200
     1.2 +++ b/slitaz-icon/receipt	Tue May 17 15:18:51 2011 +0200
     1.3 @@ -20,12 +20,12 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 +	# Default icon theme to SliTaz.
     1.8 +	sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0
     1.9  	# Some desktop files anf boxes have hardcore path to some Tango
    1.10  	# icons, so fake.
    1.11  	if [ ! -d $1/usr/share/icons/Tango/16x16 ]; then
    1.12  		cd $1/usr/share/icons && rm -rf Tango
    1.13  		ln -s SliTaz Tango
    1.14  	fi
    1.15 -	# Default icon theme to SliTaz.
    1.16 -	sed -i s/Tango/SliTaz/ $1/etc/skel/.gtkrc-2.0
    1.17  }