X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostrm-menu-method;h=ffa1e4862bd35a3cf125f351d701f28033e4dff8;hb=e2a6d4cec4a7ee952cf6a7f250d80f1d75a38f95;hp=0d573fd0d16bba693ab66b058dbcadf0593ba7b4;hpb=4106beebd28b7fe73dd19e43cf15378c08b8241f;p=debhelper.git diff --git a/autoscripts/postrm-menu-method b/autoscripts/postrm-menu-method index 0d573fd..ffa1e48 100644 --- a/autoscripts/postrm-menu-method +++ b/autoscripts/postrm-menu-method @@ -1,3 +1,3 @@ inst=/etc/menu-methods/#PACKAGE# -if [ "$1" = "remove" -a -f "$inst" ]; then chmod a-x $inst ; fi +if [ "$1" = "remove" ] && [ -f "$inst" ]; then chmod a-x $inst ; fi if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi