Software Distributor Administration Guide for HP-UX 11i

Managing Installed Software
Modifying the IPD (swmodify)
Chapter 3 117
Using swmodify
Syntax swmodify [-d][-p][-r] [-u] [-v [-V] [-a
attribute=[value]
]
[-c
catalog
][-C
session file
] [-f
software_file
]
[-P
pathname_file
] [-s
product_specification_file
]
[-S
session_file
] [-x
option=value
][-X
option_file
]
[
software_selections
][@
target_selection
]
Options and
Operands
-d Perform modifications on a depot (not on a primary or
alternate root). Your
target_selection
must be a
depot.
-p Previews a modify session without changing anything
within the
target_selection
.
-r Perform modifications on an alternate root instead of
the primary root. Your
target_selection
must be an
alternate root.
-u If no -a
attribute
options are specified, then delete
the specified
software_selections
from within your
target_selection
. This action deletes the definitions
of the software objects from the depot catalog or
Installed Products Database.
If -a
attribute
options are specified, then delete them
from within the given
target_selection
.
-v Turns on verbose output to stdout. (The swmodify
logfile is not affected by this option.)
-V Lists all the SD
layout_versions
this command
supports.
-a
attribute=value
Add, change, or deletes the
attribute value
.
Otherwise, it adds/changes the attribute for each
software_selection
by setting it to the given
value
.
Multiple -a options can be specified. Each attribute
modification will be applied to every
software_selection
.
The -s and -a options are mutually exclusive: the -s
option cannot be specified when the -a option is
specified.