summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-10-01 18:48:18 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-10-01 18:48:18 +0200
commit6ac77d50d43647dd8df8bd3b3d89f64c48db61f3 (patch)
tree03299ffc393e90315966c947d704c3e2cea37bc7
parent7652e03e9909ac65dab11a8cabb9ea5b77ef95ca (diff)
backout revno 1875 - as this aggressive immediate propergation is something we want sometimes
-rw-r--r--apt-pkg/packagemanager.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/apt-pkg/packagemanager.cc b/apt-pkg/packagemanager.cc
index dbcd461ac..e51021b39 100644
--- a/apt-pkg/packagemanager.cc
+++ b/apt-pkg/packagemanager.cc
@@ -143,10 +143,6 @@ void pkgPackageManager::ImmediateAdd(PkgIterator I, bool UseInstallVer, unsigned
for ( /* nothing */ ; D.end() == false; D++)
if (D->Type == pkgCache::Dep::Depends || D->Type == pkgCache::Dep::PreDepends)
{
- // ignore dependencies if no instal/upgrade/remove is going to happen
- if (D.TargetPkg() == 0 || Cache[D.TargetPkg()].Keep())
- continue;
-
if(!List->IsFlag(D.TargetPkg(), pkgOrderList::Immediate))
{
if(Debug)