# The script /usr/lib/menu/cdd-menu is not intended to be called by the
# cdd-common package but should be called by meta packages according to
# the Custom Debian Distribution philosphy which is explained in cdd-doc.
# That's why neither postinst nor postrm will call update-menus and
# if they would it would just be a useless call because it just exits 0
# if called by root.
cdd-common: postinst-does-not-call-updatemenus usr/lib/menu/cdd-menu
cdd-common: postrm-does-not-call-updatemenus usr/lib/menu/cdd-menu

# For obvious reasons the script has to be executable which is the
# intended use for scripts which dynamically create menu entries.
cdd-common: executable-in-usr-lib-menu usr/lib/menu/cdd-menu 0755
