X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-menu-method;h=c56d625894930d89f58ca573ae81638b4fedf098;hb=e2a6d4cec4a7ee952cf6a7f250d80f1d75a38f95;hp=d3ef636264b6abdd209a29d3123aefb7ba96ca5f;hpb=e96ca35789dc7749bf5a29f1b7736f9e5877f6a4;p=debhelper.git diff --git a/autoscripts/postinst-menu-method b/autoscripts/postinst-menu-method index d3ef636..c56d625 100644 --- a/autoscripts/postinst-menu-method +++ b/autoscripts/postinst-menu-method @@ -1,7 +1,7 @@ inst=/etc/menu-methods/#PACKAGE# if [ -f $inst ]; then chmod a+x $inst - if [ -x /usr/bin/update-menus ]; then + if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus fi fi