summaryrefslogtreecommitdiffstats
path: root/xfce/midori/post-install
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-05-08 21:33:38 +0200
committertnut <tnut at nutyx dot com>2011-05-08 21:33:38 +0200
commit788da06ede72380e98660852fc4a349eaa760c4b (patch)
tree63a45566806e15594d3ba16ca335ba4eab8bebf1 /xfce/midori/post-install
parent525a9c468d15ead96434a97a86c4743b3f4ee5c3 (diff)
downloadnutyx-pakxe-788da06ede72380e98660852fc4a349eaa760c4b.tar.gz
nutyx-pakxe-788da06ede72380e98660852fc4a349eaa760c4b.tar.bz2
nutyx-pakxe-788da06ede72380e98660852fc4a349eaa760c4b.tar.xz
nutyx-pakxe-788da06ede72380e98660852fc4a349eaa760c4b.zip
midori dans xfce
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