include/icon-cache.script
changeset 0 10291c5dc856
equal deleted inserted replaced
-1:000000000000 0:10291c5dc856
       
     1 ( echo 'test -x /usr/bin/gtk-update-icon-cache || exit 0';
       
     2   echo 'rm -f %{_datadir}/icons/*/icon-theme.cache';
       
     3   echo 'for dir in %{_datadir}/icons/*; do';
       
     4   echo '  test -f "$dir/index.theme" && /usr/bin/gtk-update-icon-cache "$dir"';
       
     5   echo 'done';
       
     6   echo 'true'
       
     7 ) | $BASEDIR/lib/postrun -u -t 5 -c JDS