mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
27767c55df
commit
94c42e7fdd
8
scripts/postinst-intercepts/update_desktop_database
Normal file
8
scripts/postinst-intercepts/update_desktop_database
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Post-install intercept for mime-xdg.bbclass
|
||||
|
||||
update-desktop-database $D${desktop_dir}
|
||||
|
||||
Reference in New Issue
Block a user