summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-menu-method
blob: ffa1e4862bd35a3cf125f351d701f28033e4dff8 (plain)
1
2
3
inst=/etc/menu-methods/#PACKAGE#
if [ "$1" = "remove" ] && [ -f "$inst" ]; then chmod a-x $inst ; fi
if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi