summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-menu
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-menu')
-rw-r--r--autoscripts/postrm-menu2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postrm-menu b/autoscripts/postrm-menu
index a34b6f1..a180558 100644
--- a/autoscripts/postrm-menu
+++ b/autoscripts/postrm-menu
@@ -1 +1 @@
-if [ -x /usr/bin/update-menus ]; then update-menus ; fi
+if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi