diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-07-03 18:33:31 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-07-03 18:33:31 +0200 |
commit | b7952f4b67d7021dc912aed5f38bc45f03bfc064 (patch) | |
tree | 5d18c4268786a05df634be6dbf3a68a2d0f282b6 /apt-pkg/depcache.cc | |
parent | c833c7a16381c383588265bbb35ed24ad383b53f (diff) | |
parent | c64d1644ae0fd1af92c80a91a6c17b57f0b8f313 (diff) |
* merged with apts mainline
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 |