From 20208d6763e725cea211f933ec1c8e32733a10af Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Fri, 17 Jan 2020 22:29:06 +0100 Subject: mime-xdg.bbclass: initial add MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Signed-off-by: Andreas Müller Signed-off-by: Richard Purdie --- scripts/postinst-intercepts/update_desktop_database | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/postinst-intercepts/update_desktop_database (limited to 'scripts/postinst-intercepts') diff --git a/scripts/postinst-intercepts/update_desktop_database b/scripts/postinst-intercepts/update_desktop_database new file mode 100644 index 0000000000..8903b496f3 --- /dev/null +++ b/scripts/postinst-intercepts/update_desktop_database @@ -0,0 +1,8 @@ +#!/bin/sh +# +# SPDX-License-Identifier: MIT +# +# Post-install intercept for mime-xdg.bbclass + +update-desktop-database $D${desktop_dir} + -- cgit 1.2.3-korg