summaryrefslogtreecommitdiffstats
path: root/midori/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'midori/post-install')
-rw-r--r--midori/post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/midori/post-install b/midori/post-install
new file mode 100644
index 000000000..62ada1b29
--- /dev/null
+++ b/midori/post-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+# Maj menu desktop et mime database
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q /usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database /usr/share/mime >/dev/null 2>&1
+fi