]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-menu-method
r533: * In script fragments, use more posix tests, no -a or -o, no parens.
[debhelper.git] / autoscripts / postinst-menu-method
index 0ea7959b1a93b5d8b8cbe1bd9d5e2d2d3bc4f0f7..01913d8269354b56a66e6c86db3c7264736b5c61 100644 (file)
@@ -1,5 +1,5 @@
 inst=/etc/menu-methods/#PACKAGE#
-if [ -x /usr/bin/update-menus -a -f $inst -a -x /usr/sbin/install-menu ] ; then
+if [ -x /usr/bin/update-menus ] && [ -f $inst ] ; then
        chmod a+x $inst
        update-menus
 fi