summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-sharedmimeinfo
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postinst-sharedmimeinfo')
-rw-r--r--autoscripts/postinst-sharedmimeinfo3
1 files changed, 3 insertions, 0 deletions
diff --git a/autoscripts/postinst-sharedmimeinfo b/autoscripts/postinst-sharedmimeinfo
new file mode 100644
index 0000000..aa6333f
--- /dev/null
+++ b/autoscripts/postinst-sharedmimeinfo
@@ -0,0 +1,3 @@
+if [ "$1" = "configure" ] && [ -x "`which update-mime-database 2>/dev/null`" ]; then
+ update-mime-database /usr/share/mime
+fi