diff options
author | Michael Vogt <egon@tas> | 2006-12-07 11:45:13 +0100 |
---|---|---|
committer | Michael Vogt <egon@tas> | 2006-12-07 11:45:13 +0100 |
commit | 207825063be51d68768e242f06b26ee6fccd3aaf (patch) | |
tree | 4c755597279d2574e787460c5d0f3bc34d132a64 /apt-pkg/depcache.cc | |
parent | 7106240056767caad5a55fe9c542842065cb5829 (diff) | |
parent | 1c05ebd6da9491d316997a98db1451f7b0526603 (diff) |
merged with apt--mvo
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r-- | apt-pkg/depcache.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index dd1c794c9..58d1d25e5 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -16,7 +16,8 @@ #include <apt-pkg/error.h> #include <apt-pkg/sptr.h> #include <apt-pkg/algorithms.h> - +#include <apt-pkg/configuration.h> + #include <apti18n.h> /*}}}*/ @@ -712,6 +713,10 @@ void pkgDepCache::MarkInstall(PkgIterator const &Pkg,bool AutoInst, 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); // Set the autoflag, after MarkInstall because MarkInstall unsets it |