In this example, the SUNWstuf package is installed to client3, which is configured with /opt in its root (/) file system. One other version of this package is already installed on client3, and the base directory is set to basedir=/opt/$PKGINST from an administration file, thisadmin. (For more information on administration files, see The Administrative Defaults File.) The pkgadd command executed on the server is:
# pkgadd -a thisadmin -R /export/root/client3 SUNWstuf |
The table below lists the environment variables and their values that are passed to the procedure scripts.
Table 6–1 Values Passed to Procedure Scripts
Environment Variable |
Value |
---|---|
|
SUNWstuf.2 |
|
/export/root/client3 |
|
/opt/SUNWstuf.2 |
|
/export/root/client3/opt/SUNWstuf.2 |