wok-next diff slitaz-icon/receipt @ 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 | 526f73d5d166 |
children | 9f76efb02071 |
line diff
1.1 --- a/slitaz-icon/receipt Fri May 23 05:21:33 2014 +0300 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