show path in install summary

This commit is contained in:
Johannes Winkelmann 2008-06-26 18:26:21 +02:00
parent 345f4e4616
commit a423bd54f1
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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() ==