summaryrefslogtreecommitdiffstats
path: root/xfce/midori/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'xfce/midori/post-install')
-rw-r--r--xfce/midori/post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/xfce/midori/post-install b/xfce/midori/post-install
new file mode 100644
index 000000000..62ada1b29
--- /dev/null
+++ b/xfce/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