1 2 3
inst=/etc/menu-methods/#PACKAGE# if [ "$1" = "remove" -a -f "$inst" ]; then chmod a-x $inst ; fi if [ -x /usr/bin/update-menus ]; then update-menus; fi