diff options
author | jak@debian.org <> | 2009-06-15 14:57:01 +0200 |
---|---|---|
committer | jak@debian.org <> | 2009-06-15 14:57:01 +0200 |
commit | f8ae7e8b3c5585888cbc0516b35131acec14ff05 (patch) | |
tree | 967800f198a9de20ea4ec1c4cd4a6dd1563ff791 /apt-pkg/deb/deblistparser.cc | |
parent | 8aea8c3f51ce84ed8d6d89682c0a989ac99c4796 (diff) |
Introduce support for the Enhances field. (Closes: #137583)
Diffstat (limited to 'apt-pkg/deb/deblistparser.cc')
-rw-r--r-- | apt-pkg/deb/deblistparser.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc index 896d4d6d8..74fa6fab4 100644 --- a/apt-pkg/deb/deblistparser.cc +++ b/apt-pkg/deb/deblistparser.cc @@ -109,6 +109,8 @@ bool debListParser::NewVersion(pkgCache::VerIterator Ver) return false; if (ParseDepends(Ver,"Replaces",pkgCache::Dep::Replaces) == false) return false; + if (ParseDepends(Ver,"Enhances",pkgCache::Dep::Enhances) == false) + return false; // Obsolete. if (ParseDepends(Ver,"Optional",pkgCache::Dep::Suggests) == false) |