Comment 0 for bug 289592

Created an attachment (id=17837)
add -q option to update-mime-database

Currently update-mime-database can be very noisy printing a lot of warnings when run. Normally this is not a problem but when run from a rpm scriptlet it shouldn't print anything unless its an error.
The packages can just redirect the output to /dev/null to avoid this but a cleaner solution is a "-q" option that can be passed to update-mime-database.

The attached patch adds it.

Another solution would be to print warnings only when in verbose mode.