Mailinglist Archive: opensuse-bugs (7993 mails)

< Previous Next >
[Bug 225665] New: jamin doesn't run update-mime-database in its %post/%postun scriptlets
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 3 Dec 2006 17:56:20 -0700 (MST)
  • Message-id: <bug-225665-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=225665

Summary: jamin doesn't run update-mime-database in its
%post/%postun scriptlets
Product: openSUSE 10.3
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Sound
AssignedTo: tiwai@xxxxxxxxxx
ReportedBy: andreas.hanke@xxxxxxxxxxxxxx
QAContact: qa@xxxxxxx


jamin installs a shared-mime-info support file that is supposed to associate
*.jam files with jamin in graphical file managers:

/usr/share/mime/packages/jamin.xml

But this does unfortunately not work because it requires the mime database to
be updated, which jamin doesn't do.

The following code should be added to the jamin.spec file in order to fix this:



PreReq: shared-mime-info

%post
usr/bin/update-mime-database usr/share/mime >/dev/null || :

%postun
usr/bin/update-mime-database usr/share/mime >/dev/null || :


--
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.

< Previous Next >
Follow Ups