Bug 213249 - Should update desktop database on install
Summary: Should update desktop database on install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-printer
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC6Update 213251
TreeView+ depends on / blocked
 
Reported: 2006-10-31 14:23 UTC by Tim Waugh
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 0.7.35-1.fc6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-09 17:15:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tim Waugh 2006-10-31 14:23:59 UTC
Description of problem:
This package ships a desktop file but doesn't update the desktop database on
install.  The %post scriptlet should contain this:

/usr/bin/update-desktop-database &>/dev/null ||:

and the %postun scriptlet should contain this:

if [ "$1" = "0" ]; then
  /usr/bin/update-desktop-database &>/dev/null ||:
fi

Version-Release number of selected component (if applicable):
0.7.32-1

Comment 1 Fedora Update System 2006-11-09 17:02:51 UTC
Fixed in update: system-config-printer-0.7.35-1.fc6


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