diff options
author | joey <joey> | 2005-01-05 00:09:57 +0000 |
---|---|---|
committer | joey <joey> | 2005-01-05 00:09:57 +0000 |
commit | 982e8935d2259eacf196e2b8d3364d0286e953ca (patch) | |
tree | 36a72155f1e2dc886062e555ac3d1d06cf7c430b /autoscripts/postinst-mime | |
parent | e1f91000857fbeb6db23824948f36490659b466e (diff) |
r1737: releasing version 4.2.30
Diffstat (limited to 'autoscripts/postinst-mime')
-rw-r--r-- | autoscripts/postinst-mime | 4 |
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 |