Bug 180898 - desktop-file-utils: %post: update-desktop-database
Summary: desktop-file-utils: %post: update-desktop-database
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: desktop-file-utils
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC4Update
TreeView+ depends on / blocked
 
Reported: 2006-02-10 12:45 UTC by Rex Dieter
Modified: 2013-01-10 03:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-07 16:07:40 UTC


Attachments (Terms of Use)

Description Rex Dieter 2006-02-10 12:45:44 UTC
Should include a scriptlet, something like:
%post
update-desktop-database -q ||:

So the database gets refreshed immediately upon install.

Comment 1 Toshio Kuratomi 2006-02-10 16:41:09 UTC
A discussion leading to this took place on the fedora-extras list:
https://www.redhat.com/archives/fedora-extras-list/2006-February/msg00107.html


Comment 2 Ray Strode [halfline] 2006-02-10 18:33:40 UTC
should be fixed in tomorrow's rawhide.

Comment 3 Rex Dieter 2006-02-10 19:15:02 UTC
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.

Comment 4 Ray Strode [halfline] 2006-02-10 20:57:40 UTC
Thanks Rex.

Will but updated shortly to use %preun instead of %postun and to ignore failures.

Comment 5 Rex Dieter 2006-03-13 13:29:35 UTC
Can/will this fix be backported to the FC-4 branch?

Comment 6 Ray Strode [halfline] 2006-03-14 00:02:23 UTC
Conceivably, let's get it on the tracker.

Comment 7 Jesse Keating 2006-07-24 21:12:21 UTC
Ping status on getting this out for FC-4?

Comment 8 Ray Strode [halfline] 2006-11-07 16:07:40 UTC
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
an update.

Comment 9 Rex Dieter 2006-11-07 16:16:30 UTC
me?  I don't care all that much (anymore).  Jesse cares for legacy though.


Note You need to log in before you can comment on or make changes to this bug.