prt-get: update ChangeLog; merge patch
git-svn-id: https://crux.nu/svn/tools/prt-get/trunk@1134 0b5ae1c7-2405-0410-a7fc-ba219f786e1e
This commit is contained in:
parent
5cb67bafff
commit
62ab83eb87
@ -1,3 +1,8 @@
|
||||
* 0.5.12 00.04.2006 Johannes Winkelmann
|
||||
- Fix compilation on OpenBSD
|
||||
- Show alias info in depends
|
||||
- don't install alias file and deplist
|
||||
|
||||
* 0.5.11 29.05.2005 Johannes Winkelmann
|
||||
- add --path to 'ls'
|
||||
- initial regex support
|
||||
|
@ -1788,8 +1788,11 @@ void PrtGet::printDepsLevel(int indent, const Package* package)
|
||||
list<string> deps;
|
||||
StringHelper::split(package->dependencies(), ',', deps);
|
||||
list<string>::iterator it = deps.begin();
|
||||
bool isAlias = false;
|
||||
string aliasName = "";
|
||||
|
||||
for (; it != deps.end(); ++it) {
|
||||
if ( m_pkgDB->isInstalled( *it ) ) {
|
||||
if ( m_pkgDB->isInstalled( *it, true, &isAlias, &aliasName ) ) {
|
||||
cout << "[i] ";
|
||||
} else {
|
||||
cout << "[ ] ";
|
||||
@ -1798,6 +1801,9 @@ void PrtGet::printDepsLevel(int indent, const Package* package)
|
||||
cout << " ";
|
||||
}
|
||||
cout << *it;
|
||||
if (isAlias) {
|
||||
cout << " (provided by " << aliasName << ")";
|
||||
}
|
||||
const Package* p = m_repo->getPackage( *it );
|
||||
if (p) {
|
||||
if (p->dependencies().length() > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user