Icon caching is unusable

Matthias Clasen mclasen at redhat.com
Mon Oct 3 21:02:20 EEST 2005

On Mon, 2005-10-03 at 19:55 +0200, Josselin Mouette wrote:
> Le lundi 03 octobre 2005 à 11:26 -0400, Matthias Clasen a écrit :
> > If you look at Fedora, this is handled in the %post hook of all packages
> > that install icons. Installing an icon is a two-step process 
> > 
> > 1) copy the icon to the right directory
> > 2) touch the toplevel theme directory
> This is probably the most stupid idea I've heard of on the subject. If
> you take care of a postinstall script, why do you only touch the
> toplevel directory instead of generating the cache?
> And of course, it doesn't take into account the fact that packages
> currently don't do that.

I don't know what packages you are talking about, but Fedora packages
take care to update the icon cache when installing icons.

More information about the xdg mailing list