|
|
Your package can use three types of installation scripts, although no scripts are required. Many of the tasks executed in a pre-UNIX System V Release 4 installation script are now accomplished automatically by pkgadd(ADM). However, you can use scripts with a UNIX System V Release 4 package to perform customized actions. An installation script must be executable by sh (for example, a shell script or executable program). The three script types are the request script (solicits installer input), class action script (defines a set of actions to perform on a group of objects), and the procedure script (defines actions that will occur at particular points during installation).
Packaging scripts are described in detail in ``The installation scripts''. Example scripts can be found in the case studies.