]> code.ossystems Code Review - openembedded-core.git/commit
gtk-icon-cache: don't call gtk-update-icon-cache on files
authorMartin Jansa <martin.jansa@gmail.com>
Sat, 22 Dec 2012 19:58:49 +0000 (20:58 +0100)
committerSaul Wold <sgw@linux.intel.com>
Tue, 25 Dec 2012 22:00:22 +0000 (14:00 -0800)
commit6c2962dc117304c542fd5458b39524ecdb81cae9
treecdba224d9212309f5e0b92c0113623e535bc41fa
parent93048f1b3d7c1613e96b772f154336e5902228e4
gtk-icon-cache: don't call gtk-update-icon-cache on files

* check if icondir is directory before calling gtk-update-icon-cache, like all other calls do
* fixes:
  | > Executing update_icon_cache
  | + chmod +x update_icon_cache
  | + ./update_icon_cache
  | gtk-update-icon-cache.real: Failed to open file /tmp-eglibc/work/qemuarm-oe-linux-gnueabi/shr-image-all/2.0-r20/rootfs/usr/share/icons/enjoy.png/.icon-theme.cache : Not a directory
  | gtk-update-icon-cache.real: Failed to open file /tmp-eglibc/work/qemuarm-oe-linux-gnueabi/shr-image-all/2.0-r20/rootfs/usr/share/icons/monav.png/.icon-theme.cache : Not a directory
  | gtk-update-icon-cache.real: Failed to open file /tmp-eglibc/work/qemuarm-oe-linux-gnueabi/shr-image-all/2.0-r20/rootfs/usr/share/icons/orrery.png/.icon-theme.cache : Not a directory

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/gtk-icon-cache.bbclass