summaryrefslogtreecommitdiff
path: root/poky/scripts/postinst-intercepts/update_mime_database
diff options
context:
space:
mode:
Diffstat (limited to 'poky/scripts/postinst-intercepts/update_mime_database')
-rw-r--r--poky/scripts/postinst-intercepts/update_mime_database9
1 files changed, 9 insertions, 0 deletions
diff --git a/poky/scripts/postinst-intercepts/update_mime_database b/poky/scripts/postinst-intercepts/update_mime_database
new file mode 100644
index 000000000..582d1e162
--- /dev/null
+++ b/poky/scripts/postinst-intercepts/update_mime_database
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# SPDX-License-Identifier: MIT
+#
+# Post-install intercept for mime.bbclass
+
+echo "Updating MIME database... this may take a while."
+update-mime-database $D${mimedir}
+