poky/scripts/postinst-intercepts/update_desktop_database
Andreas Müller 94c42e7fdd mime-xdg.bbclass: initial add
When opening files by file-browsers on fresh images, user has to choose the
application to open from the pool af ALL known applications even those not
designed to open the file selected. By inheriting this classs in recipes the
assosiations in /usr/share/applications/mimeinfo.cache are build by calling
update-desktop-database.

(From OE-Core rev: 20208d6763e725cea211f933ec1c8e32733a10af)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-01-19 13:24:38 +00:00

134 B

#!/bin/sh

SPDX-License-Identifier: MIT

Post-install intercept for mime-xdg.bbclass

update-desktop-database $D${desktop_dir}