Bug 201827 - XaraLX should suppress update-mime-database output
XaraLX should suppress update-mime-database output
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: XaraLX (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul F. Johnson
Fedora Extras Quality Assurance
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-09 01:21 EDT by Alex Lancaster
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version: XaraLX-0.7-3.fc5.r1614
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-08-09 08:08:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alex Lancaster 2006-08-09 01:21:58 EDT
Description of problem:
Xara should modify the update-mime-database and pipe the output to /dev/null
2>&1 to prevent the output.  

Currently it has:

rpm -q XaraLX --scripts
postinstall scriptlet (using /bin/sh):
if which update-mime-database>/dev/null 2>&1; then \
   update-mime-database /usr/share/mime; \
fi
postuninstall scriptlet (using /bin/sh):
if which update-mime-database>/dev/null 2>&1; then \
   update-mime-database /usr/share/mime; \
fi


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


How reproducible:


Steps to Reproduce:
1. yum install XaraLX

Actual results:
Committing transaction...
Preparing...                    ######################################## [  0%]
   1:Installing XaraLX          ######################################## [ 50%]
Output from XaraLX-0.7-2.fc5.r1614@i386:
***
* Updating MIME database in /usr/share/mime...
Wrote 471 strings at 20 - 2750
Wrote aliases at 2750 - 2904
Wrote parents at 2904 - 2f64
Wrote literal globs at 2f64 - 2fc0
Wrote suffix globs at 2fc0 - 6438
Wrote full globs at 6438 - 645c
Wrote magic at 645c - bd44
Wrote namespace list at bd44 - bd54
***

Expected results:
Committing transaction...
Preparing...                    ######################################## [  0%]
   1:Installing XaraLX          ######################################## [ 50%]


Additional info:
Comment 1 Paul F. Johnson 2006-08-09 06:42:09 EDT
Fixed - thanks for the report
Comment 2 Alex Lancaster 2006-08-09 07:40:40 EDT
Hmm, doesn't appear to be in CVS:

http://cvs.fedora.redhat.com/viewcvs/rpms/XaraLX/FC-5/XaraLX.spec?root=extras&rev=1.1&view=auto

or in the build queue.  Re-opening until it appears in repo to make sure it
doesn't get lost.
Comment 3 Paul F. Johnson 2006-08-09 08:08:52 EDT
I've just committed it to extras (in the last 10 minutes!).

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