summaryrefslogtreecommitdiff
path: root/recipes/shared-mime-info/shared-mime-info_0.20.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/shared-mime-info/shared-mime-info_0.20.bb')
-rw-r--r--recipes/shared-mime-info/shared-mime-info_0.20.bb11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/shared-mime-info/shared-mime-info_0.20.bb b/recipes/shared-mime-info/shared-mime-info_0.20.bb
new file mode 100644
index 0000000000..3d2a614bd1
--- /dev/null
+++ b/recipes/shared-mime-info/shared-mime-info_0.20.bb
@@ -0,0 +1,11 @@
+require shared-mime-info.inc
+
+PR = "r1"
+
+pkg_postinst () {
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+ echo "Updating MIME database... this may take a while."
+ ${bindir}/update-mime-database ${datadir}/mime
+}