The following functions are available only for RPM package integration:
A special PIF parameter is used to pass the installation directory path to the RPM installation. This parameter is named as follows:
PREFIX_rpm_packagename
Dashes within RPM package names are replaced by underscores.
Examples of parameters containing install paths for RPM packages are:
$PREFIX_openoffice — contains install path for openoffice:
$PREFIX_XFree86_libs — contains install path for XFree86-libs
Note: RPM does not provide progress information at removal time.
In the prein script:
# PIF_RPM_INSTALL_OPTION= # PIF_RPM_REINSTALL_OPTION= # PIF_RPM_UPDATE_OPTION=
In the preun script:
# PIF_RPM_REMOVE_OPTION=
For the method REINSTALL the default is set to --replacepkgs. For the methods INSTALL, UPDATE, and REMOVE no defaults are set.
Note: In attended mode the option -percent is automatically added for install, reinstall and update jobs.
Example of a prein script:
#!/bin/sh # following option is used to overwrite the RPM update installation switches: # PIF_RPM_UPDATE_OPTION=--replacepkgs --replacefiles exit 0
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|