On Sat, 2005-03-26 at 19:08 +0000, Mike Hearn wrote:
On Sat, 26 Mar 2005 11:41:11 -0500, John (J5) Palmieri wrote:
> I believe it has to run as root or you would have this huge cache for
> each user. Actually I don't think it is all that big right now but
> there are plans that will make the cache huge in the future. There has
> been some discussion on having a daemon or cron job do this work but for
> right now the post scrip is the simple solution.
OK so it's not actually necessary, if the cache is stale things still
work? If so then yes a cron job or whatever would be perfect.
If gtk recognizes the cache as stale, then yes, it ignores it. But in
order mark it as stale, apps installing new icons must change the mtime
of the toplevel theme directory (following the icon theme spec). Thus we
would need a %post even if we had a cron job.