1 2 3
inst=/etc/menu-methods/#PACKAGE# if [ "$1" = "remove" -a -f "$inst" ]; then chmod a-x $inst ; fi if command -v update-menus >/dev/null 2>&1 ; then update-menus; fi