Software Distributor Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (5900-2488, September 2012)

11.4.1.3 LC_CTYPE.......................................................................................................214
11.4.1.4 LC_MESSAGES................................................................................................214
11.4.1.5 LC_TIME.........................................................................................................214
11.4.1.6 TZ.................................................................................................................214
11.4.2 Variables That Affect All SD-UX Scripts......................................................................214
11.4.2.1 SW_CATALOG...............................................................................................214
11.4.2.2 SW_CONTROL_DIRECTORY ...........................................................................214
11.4.2.3 SW_CONTROL_TAG......................................................................................214
11.4.2.4 SW_LOCATION ............................................................................................214
11.4.2.5 SW_PATH .....................................................................................................215
11.4.2.6 SW_ROOT_DIRECTORY .................................................................................215
11.4.2.7 SW_SESSION_OPTIONS................................................................................215
11.4.2.8 SW_SOFTWARE_SPEC...................................................................................215
11.4.3 Variables That Affect swinstall and swremove.............................................................215
11.4.3.1 SW_DEFERRED_KERNBLD ...............................................................................215
11.4.3.2 SW_INITIAL_INSTALL .....................................................................................216
11.4.3.3 SW_KERNEL_PATH ........................................................................................216
11.4.3.4 SW_SESSION_IS_KERNEL...............................................................................216
11.4.3.5 SW_SESSION_IS_REBOOT..............................................................................216
11.4.3.6 SW_SYSTEM_FILE_PATH .................................................................................216
11.4.4 Variables That Affect swverify...................................................................................216
11.4.4.1 SW_IS_COMPATIBLE.......................................................................................216
11.4.5 Environment Variables That Affect swinstall, swremove and swconfig in SRP....................216
11.4.5.1 SW_ALLOW_LOCAL_SRP_OPS.........................................................................216
11.5 Execution of Control Scripts ............................................................................................216
11.5.1 Details Common to All Control Scripts .......................................................................217
11.5.2 Checkinstall Scripts ................................................................................................217
11.5.3 Preinstall Scripts ....................................................................................................218
11.5.4 Postinstall Scripts ...................................................................................................218
11.5.5 Configure Scripts ...................................................................................................219
11.5.6 Unconfigure Scripts ................................................................................................219
11.5.7 Verify Scripts .........................................................................................................219
11.5.8 Fix Scripts..............................................................................................................220
11.5.9 Checkremove Scripts ..............................................................................................220
11.5.10 Preremove Scripts .................................................................................................220
11.5.11 Postremove Scripts .................................................................................................221
11.5.12 Request Scripts......................................................................................................221
11.6 Execution of Other Commands by Control Scripts ..............................................................222
11.7 Control Script Input and Output.......................................................................................222
11.8 File Management by Control Scripts ................................................................................224
11.9 Testing Control Scripts ...................................................................................................224
11.9.1 Testing Installation Scripts ........................................................................................225
11.9.2 Testing Configuration Scripts ...................................................................................225
11.9.3 Testing Removal Scripts ...........................................................................................226
11.10 Requesting User Responses (swask).................................................................................227
11.10.1 Using swask..........................................................................................................227
11.11 Request Script Tasks and Examples..................................................................................228
11.11.1 swask Examples.....................................................................................................229
11.11.2 swinstall Examples..................................................................................................229
11.11.3 swconfig Examples.................................................................................................229
12 Nonprivileged SD ................................................................................231
12.1 Overview......................................................................................................................231
12.1.1 Who Can Benefit?...................................................................................................231
10 Contents