[Bug 225666] New: seahorse runs update-mime-database with the wrong prefix

https://bugzilla.novell.com/show_bug.cgi?id=225666 Summary: seahorse runs update-mime-database with the wrong prefix Product: openSUSE 10.3 Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: andreas.hanke@gmx-topmail.de QAContact: qa@suse.de seahorse installs the following file: /opt/gnome/share/mime/packages/seahorse.xml But in its %post/%postun scriptlets, it does: update-mime-database /usr/share/mime >/dev/null => The mime association won't work unless another package which is installed later incidentally runs update-mime-database with the correct prefix, in this case opt/gnome/share/mime. Besides that, it seems to miss a line like this: PreReq: gconf2 shared-mime-info which is serious, because it can make the %post scriptlet fail if gconf2 and shared-mime-info were not incidentally installed before seahorse. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=225666 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |maw@novell.com |gnome@forge.provo.novell.com| -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.

https://bugzilla.novell.com/show_bug.cgi?id=225666 sbrabec@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from sbrabec@novell.com 2006-12-07 08:05 MST ------- Well. Even better is: if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database /usr/share/mime >/dev/null fi Then it will not depend on installation order and work, too. I have just fixed it several minutes ago. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com