projects
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47026cd
)
* apt-pkg/depcache.cc:
author
Michael Vogt
<michael.vogt@ubuntu.com>
Thu, 14 Jun 2007 09:05:18 +0000
(11:05 +0200)
committer
Michael Vogt
<michael.vogt@ubuntu.com>
Thu, 14 Jun 2007 09:05:18 +0000
(11:05 +0200)
- merge missing bugfix from ubuntu branch
apt-pkg/depcache.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/depcache.cc
b/apt-pkg/depcache.cc
index fe981ea763a339a35e44e5f7c4df2cb3cebb8551..5979f83799df896c3f909db93ade6a2177781754 100644
(file)
--- 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;
}