diff options
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 |