summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-mime
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-mime')
-rw-r--r--autoscripts/postrm-mime2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postrm-mime b/autoscripts/postrm-mime
index e993233b..a9404112 100644
--- a/autoscripts/postrm-mime
+++ b/autoscripts/postrm-mime
@@ -1 +1 @@
-if [ -x /usr/sbin/update-mime ]; then update-mime; fi
+if which update-mime >/dev/null 2>&1; then update-mime; fi