diff options
author | Michael Vogt <egon@bottom> | 2007-06-18 14:30:30 +0200 |
---|---|---|
committer | Michael Vogt <egon@bottom> | 2007-06-18 14:30:30 +0200 |
commit | 858a70ad51d3cfbc8de9005779001b686d1ddeb9 (patch) | |
tree | 91fa809801db02821cb40df922947fb1f1d5f1e0 /apt-pkg | |
parent | 3025794355fa84971e8d5d4f9e499258f769b127 (diff) | |
parent | 8a7bd39bdc6e993cd64c639e9e535a380846c2e9 (diff) |
* merged from apt--mvo
Diffstat (limited to 'apt-pkg')
-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 fe981ea76..5979f8379 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -1150,7 +1150,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; } |