X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-menu;h=b56a34622bb97ececbb6f133bdae86fb6752ba66;hb=e2a6d4cec4a7ee952cf6a7f250d80f1d75a38f95;hp=8a46311ff56369c410df9689b3cc5ff9147cbd90;hpb=f375c254bef045414797dfb9bd55c6ddc7391659;p=debhelper.git diff --git a/autoscripts/postinst-menu b/autoscripts/postinst-menu index 8a46311..b56a346 100644 --- a/autoscripts/postinst-menu +++ b/autoscripts/postinst-menu @@ -1 +1,3 @@ -if [ "$1" = "configure" -a -x /usr/bin/update-menus ]; then update-menus ; fi +if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then + update-menus +fi