summaryrefslogtreecommitdiffstats
path: root/scripts/postinst-intercepts/update_mime_database
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/postinst-intercepts/update_mime_database')
-rw-r--r--scripts/postinst-intercepts/update_mime_database9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/postinst-intercepts/update_mime_database b/scripts/postinst-intercepts/update_mime_database
new file mode 100644
index 0000000000..582d1e162c
--- /dev/null
+++ b/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}
+