]> 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 8a46311ff56369c410df9689b3cc5ff9147cbd90..b56a34622bb97ececbb6f133bdae86fb6752ba66 100644 (file)
@@ -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