Installation parameters
The following four groups of parameters are available to all installation
scripts.
Some of the parameters can be modified by a request script, others
cannot be modified at all.
-
The four system parameters that are generated by the installation software
(see below for a description of these).
None of these parameters can be modified by a package.
-
The 21 standard installation parameters defined in the
pkginfo(F)
file.
Of these, a package can only modify the CLASSES parameter.
The standard installation parameters are described in detail
in the
pkginfo(F)
manual page.
-
You can define your own installation parameters by assigning a value to
them in the
pkginfo(F)
file.
Such a parameter must
be alphanumeric with an initial capital letter.
Any of these parameters can be
changed by a request script.
-
Your request script can define new parameters by assigning values
to them and
placing them into the installation environment.
The four installation parameters that are generated
by installation software are described below:
PATH-
Specifies the search list used by sh to find commands;
PATH
is set to
/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
upon script invocation.
UPDATE-
Indicates that the current installation is intended to update the system.
Automatically set to true if the package
being installed is overwriting a version of itself.
PKGINST-
Specifies the instance identifier of the package being installed.
The value is equal to the package abbreviation (i.e., the same value
as the PKG variable in the pkginfo file).
See
``2. Defining a package instance''
for more details.)
PKGSAV-
Specifies the directory where files can be saved for use by removal scripts
or where previously saved files may be found.
Next topic:
Getting package information for a script
Previous topic:
Script processing
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003