Should include a scriptlet, something like:
update-desktop-database -q ||:
So the database gets refreshed immediately upon install.
A discussion leading to this took place on the fedora-extras list:
should be fixed in tomorrow's rawhide.
NOTE: you probably only want this in %post, not %postun, since
update-desktop-database won't be available when/if
rpm -e desktop-file-utils.
As an aside, you probably should put ||: at the end of each command so the
scriptlet won't die on encounterring errors.
Will but updated shortly to use %preun instead of %postun and to ignore failures.
Can/will this fix be backported to the FC-4 branch?
Conceivably, let's get it on the tracker.
Ping status on getting this out for FC-4?
probably a bit too late at this point. I'm going to close this. Rex, if you're
still really interested in seeing this for FC4 reopen and I'll go ahead and push
me? I don't care all that much (anymore). Jesse cares for legacy though.