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