Software Distributor Administration Guide for HP-UX 11i
Creating Software Packages
Creating a Product Specification File (PSF)
Chapter 10336
NOTE A dependency must always be specified using a software specification
that starts with the product tag for the requisite software.
You can specify multiple dependencies to define AND relationships
between the dependencies (AND meaning that all dependencies must be
satisfied).
You can also define OR relationships using the or (|) character. The
following rules apply:
• White spaces are allowed around the OR character.
• OR dependencies are resolved from left to right.
Here is an example:
corequisite P.F
prerequisite ProdA | ProdB | ProdC.F | ProdC.FS
corequisite ProdX | ProdY | ProdZ | ProdW.FS
Control Script Specification SD-UX supports execution of product
and fileset control scripts that allow you to perform additional checks
and operations with other HP-UX commands and functions. The swask,
swinstall, swconfig, swverify, and swremove commands each can execute
one or more control scripts on the primary roots. You can write the
scripts and include them in your software package. All scripts are
optional but often are needed correctly complete the task that you want
your software package to perform. See Chapter 11, “Using Control
Scripts,” on page 369 for a complete discussion of control scripts.