diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-07 22:55:14 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-07 22:55:14 +0200 |
commit | 2ea152b6fb5799f180d4133dc76c52cf1a122f54 (patch) | |
tree | 6c2be37fc2483f779453a067175b1ddadf7aa6b7 /apt-pkg/depcache.cc | |
parent | 3a089a0178ee7b3adff28dcc8749735898201e27 (diff) | |
parent | 98a27a213636270c44a6dbb32756b4dca73449b2 (diff) |
* merged from the apt--install-recommends branch
Diffstat (limited to 'apt-pkg/depcache.cc')
-rw-r--r-- | apt-pkg/depcache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index 740d14426..15d7bac43 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -1343,7 +1343,7 @@ bool pkgDepCache::Policy::IsImportantDep(DepIterator Dep) string s = _config->Find("APT::Install-Recommends-Section",""); if(s.size() > 0) { - const char *sec = Dep.TargetPkg().Section(); + const char *sec = Dep.ParentVer().Section(); if (sec && strcmp(sec, s.c_str()) == 0) return true; } |