List Archive: gentoo-devhelp
Note: Due to technical difficulties, the Archives are currently not up to date.
provides an alternative service for most mailing lists.c.f. bug 424647
On 08/25/2011 10:28 AM, Peter Volkov wrote:
> В Вск, 21/08/2011 в 21:32 +0300, Nikos Chantziaras пишет:
>> I have an XML file that specifies MIME types for an application. In my
>> ebuild, I install it like this:
>> insinto /usr/share/mime/packages
>> doins someapp_mime_types.xml
>> I then use these calls (from fdo-mime.eclass):
>> However, this results in:
>> * Updating desktop mime database ...
>> ACCESS DENIED open_wr: /usr/share/applications/.mimeinfo.cache.ORB20V
>> * Updating shared mime info database ...
>> /usr/bin/update-mime-database: I don't have write permission on
>> /usr/share/mime. Try rerunning me as root.
>> What am I doing wrong? I *am* running "emerge" as root.
> These functions should be executed in pkg_postinst() and pkg_postrm().
> BTW, you don't need to run fdo-mime_desktop_database_update for mime
Thanks, that works.
I running fdo-mime_desktop_database_update needed when installing a
desktop file with make_desktop_entry?