summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-sharedmimeinfo
diff options
context:
space:
mode:
authorjoey <joey>2005-01-05 00:09:57 +0000
committerjoey <joey>2005-01-05 00:09:57 +0000
commit982e8935d2259eacf196e2b8d3364d0286e953ca (patch)
tree36a72155f1e2dc886062e555ac3d1d06cf7c430b /autoscripts/postinst-sharedmimeinfo
parente1f91000857fbeb6db23824948f36490659b466e (diff)
r1737: releasing version 4.2.30
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