]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-mime
releasing version 9.20120909
[debhelper.git] / autoscripts / postinst-mime
index a28e5bd7911efc26bf1dfaa25c609c2c017f829b..3749fc9d503b5539928579f53f29589889ea60c3 100644 (file)
@@ -1 +1,3 @@
-if [ "$1" = "configure" -a -x /usr/sbin/update-mime ]; then update-mime; fi
+if [ "$1" = "configure" ] && [ -x "`which update-mime 2>/dev/null`" ]; then
+       update-mime
+fi