The Debian packaging scripts created by the deb-pkg target do not passon the standard Debian maintainer script parameters to hook scripts,which means that those scripts cannot tell whether they are being calledduring e.g. install vs. upgrade, or removal vs. purge of the package.

As there are several variantions in how hook scripts are called fromkernel packages, we pass the parameters in the environment variableDEB_MAINT_PARAMS rather than as extra arguments.