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