summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r--apt-pkg/depcache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index be768d0bf..293630e50 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -1183,7 +1183,7 @@ bool pkgDepCache::Policy::IsImportantDep(DepIterator Dep)
return true;
else if(Dep->Type == pkgCache::Dep::Recommends)
{
- if ( _config->FindB("APT::Install-Recommends", true))
+ if ( _config->FindB("APT::Install-Recommends", false))
return true;
// we suport a special mode to only install-recommends for certain
// sections
@@ -1460,3 +1460,4 @@ bool pkgDepCache::Sweep()
return true;
}
+