RpmPostTransCollector implementation.
Extract and remember posttrans scripts for later execution.
void collectPosttransInfo(const Pathname &rpmPackage_r, const std::vector< std::string > &runposttrans_r)
Extract and remember a packages posttrans script or dump_posttrans lines for later execution.
void executeScripts(rpm::RpmDb &rpm_r)
Execute the remembered scripts and/or or dump_posttrans lines.
RW_pointer< Impl > _pimpl
Implementation class.
bool hasPosttransScript(const Pathname &rpmPackage_r)
Test whether a package defines a posttrans script.
friend std::ostream & operator<<(std::ostream &str, const RpmPostTransCollector &obj)
friend std::ostream & dumpOn(std::ostream &str, const RpmPostTransCollector &obj)
void discardScripts()
Discard all remembered scripts and/or or dump_posttrans lines.
std::ostream & dumOn(std::ostream &str, const RpmPostTransCollector &obj)
Verbose stream output.