summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-mime
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-mime
parente1f91000857fbeb6db23824948f36490659b466e (diff)
r1737: releasing version 4.2.30
Diffstat (limited to 'autoscripts/postinst-mime')
-rw-r--r--autoscripts/postinst-mime4
1 files changed, 3 insertions, 1 deletions
diff --git a/autoscripts/postinst-mime b/autoscripts/postinst-mime
index bef63cc9..3749fc9d 100644
--- a/autoscripts/postinst-mime
+++ b/autoscripts/postinst-mime
@@ -1 +1,3 @@
-if [ "$1" = "configure" ] && [ -x /usr/sbin/update-mime ]; then update-mime; fi
+if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then
+ update-mime
+fi