On 8/17/2012 3:21 PM, Burton, Ross wrote:
On 17 August 2012 02:48, jhuang0 <jackie.hu...@windriver.com> wrote:
Yeah, it would be better for the postinstall script, but for
xcursor-transparent-theme without index.theme file, is it still a problem?

Running gtk-update-icon-cache doesn't make sense on themes without an
index.theme, because without an index.theme there are not any icons to

I see, so themes without an index.theme is not an issue, postinstall script should handle this case, I will change to call gtk-update-icon-cache only for themes with index.theme just as Martin's suggestion.

Thanks,
Jackie

cache (xcursor themes are different).  From the man page:

"It expects to be given the path to a icon theme directory containing
an index.theme, e.g.  /usr/share/icons/hicolor, and writes a
icon-theme.cache containing cached information about the icons in the
directory tree below the given directory."

Use -t to gtk-update-icon-cache, or filter the list of directories to
only include ones with index.theme files.  Either is appropriate.

Ross

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



--
Jackie Huang
WIND RIVER | China Development Center
MSN:jackiel...@hotmail.com
Tel: +86 8477 8594
Mobile: +86 138 1027 4745

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to