summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-06-26 06:30:09 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-06-26 06:30:09 +0200
commita23dcda4a75ead3ef9712d90300f45155856b6ce (patch)
tree8951be2e20b5403c4339fa246b59d7770c8e2e46 /apt-pkg/depcache.cc
parentbc03039d0f532b6463de33bff60c7d876af6ea5e (diff)
parentb90d7d855709c49a6d5faff0ac65b96fd15e4500 (diff)
* merged with mainline
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r--apt-pkg/depcache.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index 22dd53f97..6eb6c1d85 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -24,6 +24,7 @@
#include <iostream>
#include <sstream>
+
#include <apti18n.h>
pkgDepCache::ActionGroup::ActionGroup(pkgDepCache &cache) :
@@ -837,9 +838,14 @@ void pkgDepCache::MarkInstall(PkgIterator const &Pkg,bool AutoInst,
}
}
- if (InstPkg.end() == false)
+ if (InstPkg.end() == false)
+ {
+ if(_config->FindB("Debug::pkgDepCache::AutoInstall",false) == true)
+ std::clog << "Installing " << InstPkg.Name()
+ << " as dep of " << Pkg.Name()
+ << std::endl;
MarkInstall(InstPkg, true, Depth + 1, false);
-
+ }
continue;
}