]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-menu
cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 Thanks, Simon Ruderich for the patch...
[debhelper.git] / autoscripts / postinst-menu
index a73a169208ae9d6806d87cda985e805c66346ec5..b56a34622bb97ececbb6f133bdae86fb6752ba66 100644 (file)
@@ -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