The environment variable assignments should be added to the installation environment for use by the pkgadd command and other packaging scripts by writing them to the response file (known to the script as $1).
System environment variables and standard installation environment
variables, except for the
BASEDIR parameters, cannot
be modified by a checkinstall script. Any of the other
environment variables you created can be changed.
Every environment variable that the checkinstall script may manipulate should be assigned a default value in the pkginfo file.
The format of the output list should be PARAM=value. For example:
Administrator interaction is not permitted during execution of a checkinstall script. All administrator interaction is restricted to the request script.