summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-menu
diff options
context:
space:
mode:
authorjoey <joey>2005-01-05 00:09:57 +0000
committerjoey <joey>2005-01-05 00:09:57 +0000
commit982e8935d2259eacf196e2b8d3364d0286e953ca (patch)
tree36a72155f1e2dc886062e555ac3d1d06cf7c430b /autoscripts/postinst-menu
parente1f91000857fbeb6db23824948f36490659b466e (diff)
r1737: releasing version 4.2.30
Diffstat (limited to 'autoscripts/postinst-menu')
-rw-r--r--autoscripts/postinst-menu4
1 files changed, 3 insertions, 1 deletions
diff --git a/autoscripts/postinst-menu b/autoscripts/postinst-menu
index 276a3c0..b56a346 100644
--- a/autoscripts/postinst-menu
+++ b/autoscripts/postinst-menu
@@ -1 +1,3 @@
-if [ "$1" = "configure" ] && [ -x /usr/bin/update-menus ]; then update-menus ; fi
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
+ update-menus
+fi