X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-mime;h=3749fc9d503b5539928579f53f29589889ea60c3;hb=18a0da8092ea9f3dc48bca92b36f592af25a608d;hp=bef63cc97295085f3db20ba68bc07f60e11b71ab;hpb=c84545b9234bf1d233983d5ae59ab59d573a5460;p=debhelper.git diff --git a/autoscripts/postinst-mime b/autoscripts/postinst-mime index bef63cc..3749fc9 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