show path in install summary
This commit is contained in:
parent
345f4e4616
commit
a423bd54f1
@ -1,6 +1,7 @@
|
||||
* 5.16 26.06.2008 Johannes Winkelmann
|
||||
- don't loop forever when version= contains unsupported $() tokens
|
||||
- gcc 4.3 fixes (thanks Fredrik)
|
||||
- support path in install summary
|
||||
|
||||
* 5.15 27.09.2006 Johannes Winkelmann
|
||||
- fix PKGMK_PACKAGE_DIR determination
|
||||
|
@ -1092,6 +1092,14 @@ void PrtGet::evaluateResult( InstallTransaction& transaction,
|
||||
bool atLeastOnePackageHasReadme = false;
|
||||
|
||||
for ( ; iit != inst.end(); ++iit ) {
|
||||
if (m_parser->printPath()) {
|
||||
// TODO: avoid lookup by tuning
|
||||
// InstallTransaction::installedPackages()
|
||||
const Package* p = m_repo->getPackage(iit->first);
|
||||
if (p) {
|
||||
cout << p->path() << "/";
|
||||
}
|
||||
}
|
||||
cout << iit->first;
|
||||
if ( iit->second.hasReadme ) {
|
||||
if ( m_config->readmeMode() ==
|
||||
|
Loading…
Reference in New Issue
Block a user