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