wok rev 16720

slitaz-icon: remove non-existent entities and broken symlinks.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 02 02:13:59 2014 +0300 (2014-06-02)
parents 7309fd1536fe
children 65916402b97c
files slitaz-icon/receipt slitaz-icon/stuff/index.theme
line diff
     1.1 --- a/slitaz-icon/receipt	Sun Jun 01 11:42:05 2014 +0000
     1.2 +++ b/slitaz-icon/receipt	Mon Jun 02 02:13:59 2014 +0300
     1.3 @@ -16,13 +16,23 @@
     1.4  {
     1.5  	mkdir -p $fs/usr/share/icons
     1.6  	cp -a $src/SliTaz $fs/usr/share/icons
     1.7 -	sed -i s'/Name=Faenza/Name=SliTaz/' \
     1.8 -		$fs/usr/share/icons/SliTaz/index.theme
     1.9 +
    1.10  	# We use a new one provided by TazPanel
    1.11  	rm $fs/usr/share/icons/SliTaz/apps/22/tazpanel.png
    1.12 +
    1.13  	# fix icons for Yad
    1.14  	ln -s go-next.png $fs/usr/share/icons/SliTaz/actions/22/gtk-go-forward.png
    1.15  	ln -s go-previous.png $fs/usr/share/icons/SliTaz/actions/22/gtk-go-back.png
    1.16 +
    1.17 +	# remove non-existent entities => faster icon search
    1.18 +	rm -f $fs/usr/share/icons/SliTaz/index.theme
    1.19 +	cp $stuff/index.theme $fs/usr/share/icons/SliTaz
    1.20 +
    1.21 +	# remove broken symlinks
    1.22 +	for i in $(find $fs -type l); do
    1.23 +		[ ! -e $i ] && rm -f $i
    1.24 +	done
    1.25 +
    1.26  	chown -R root.root $fs
    1.27  }
    1.28  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/slitaz-icon/stuff/index.theme	Mon Jun 02 02:13:59 2014 +0300
     2.3 @@ -0,0 +1,45 @@
     2.4 +[Icon Theme]
     2.5 +Name=SliTaz
     2.6 +Inherits=hicolor
     2.7 +Comment=Icon theme project with tilish style, by Tiheum
     2.8 +Directories=actions/22,apps/22,categories/22,devices/22,stock/22,mimetypes/32,places/32,status/32
     2.9 +
    2.10 +[actions/22]
    2.11 +Size=22
    2.12 +Context=Actions
    2.13 +Type=fixed
    2.14 +
    2.15 +[apps/22]
    2.16 +Size=22
    2.17 +Context=Apps
    2.18 +Type=fixed
    2.19 +
    2.20 +[devices/22]
    2.21 +Size=22
    2.22 +Context=Devices
    2.23 +Type=fixed
    2.24 +
    2.25 +[categories/22]
    2.26 +Size=22
    2.27 +Context=Categories
    2.28 +Type=fixed
    2.29 +
    2.30 +[stock/22]
    2.31 +Size=22
    2.32 +Context=Stock
    2.33 +Type=fixed
    2.34 +
    2.35 +[mimetypes/32]
    2.36 +Size=32
    2.37 +Context=Mimetypes
    2.38 +Type=fixed
    2.39 +
    2.40 +[places/32]
    2.41 +Size=32
    2.42 +Context=Places
    2.43 +Type=fixed
    2.44 +
    2.45 +[status/32]
    2.46 +Size=32
    2.47 +Context=Status
    2.48 +Type=fixed