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