Bug 213249

Summary: Should update desktop database on install
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.7.35-1.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-09 17:15:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 207681, 213251    

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