File: postinst-menu-method

package info (click to toggle)
debhelper 13.24.2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,344 kB
  • sloc: perl: 14,683; makefile: 131; sh: 9
file content (7 lines) | stat: -rw-r--r-- 187 bytes parent folder | download | duplicates (4)
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