On Tue, 2006-12-19 at 14:47 -0500, Jesse Keating wrote: > On Tuesday 19 December 2006 14:30, Dennis Gilmore wrote: > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=170335 > > bug has been filed for a long time now. We need a propper answer and it > > is not yet found. it would be much simpler if gnome followed the > > freedesktop.org spec and all you needed was to update the directory time > > stamp. however as gnome goes further we now have this situation. > > The suggestion of using a --delay and gathering many updates into said --delay > seems very sane. But as stated, no time to work on said feature. We already have the %posttrans scriptlet in rpm which implements delaying the invocation until the end of the transaction. While it does not reduce the number of invocations as of FC6, having it do that transparently too if sanely doable would be beneficial in many more cases than just the icon cache one at hand. By the way, wrapping the cache update in %post inside "if [ $1 -eq 1 ]" and doing it always in %postun like it is done now would save one update per package on upgrades already now. And that could be applied to some other similar cases too, not just icon cache updates, as long as the package in question is not a "multiversion" one such as kernel. -- Fedora-maintainers mailing list Fedora-maintainers@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-maintainers -- Fedora-maintainers-readonly mailing list Fedora-maintainers-readonly@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly