summaryrefslogtreecommitdiffstats
path: root/autoscripts/postrm-menu-method
blob: bcbdf47e1088af8ab7629c8d5e5ee10db11ec13c (plain)
1
2
3
inst=/etc/menu-methods/#PACKAGE#
if [ "$1" = "remove" ] && [ -f "$inst" ]; then chmod a-x $inst ; fi
if [ -x "`command -v update-menus`" ] && [ -x "$DPKG_ROOT`command -v update-menus`" ]; then update-menus ; fi