Package Script Restrictions

Scripts used as part of the package install and uninstall may only use commands and interfaces that are specified by the LSB. All other commands are not guaranteed to be present, or to behave in expected ways.

Packages may not use RPM triggers.

Packages may not depend on the order in which scripts are executed (pre-install, pre-uninstall, &c), when doing an upgrade.