]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-menu
r2004: file. (Thanks Wakko)
[debhelper.git] / autoscripts / postinst-menu
index 276a3c0a7f64f4e9bb1bdc83bda0d55faa15f2ba..b56a34622bb97ececbb6f133bdae86fb6752ba66 100644 (file)
@@ -1 +1,3 @@
-if [ "$1" = "configure" ] && [ -x /usr/bin/update-menus ]; then update-menus ; fi
+if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
+       update-menus
+fi