diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-06 19:38:37 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-09-06 19:38:37 +0200 |
commit | 94915e3424601c8fa935c527122d65f1f0878fe2 (patch) | |
tree | 35005e766220a8ed4aed04bc192925a22a5e38dd /apt-pkg/deb | |
parent | 32915d6933ac957ecbe92495ffcc8d5a1b68de56 (diff) | |
parent | 9275e2f60319db714f7fbd20f1897e86a76aa130 (diff) |
* merged ians changes for apt support for breaks
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r-- | apt-pkg/deb/deblistparser.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc index c2b26b5eb..074abea6d 100644 --- a/apt-pkg/deb/deblistparser.cc +++ b/apt-pkg/deb/deblistparser.cc @@ -105,6 +105,8 @@ bool debListParser::NewVersion(pkgCache::VerIterator Ver) return false; if (ParseDepends(Ver,"Conflicts",pkgCache::Dep::Conflicts) == false) return false; + if (ParseDepends(Ver,"Breaks",pkgCache::Dep::DpkgBreaks) == false) + return false; if (ParseDepends(Ver,"Replaces",pkgCache::Dep::Replaces) == false) return false; @@ -193,6 +195,7 @@ unsigned short debListParser::VersionHash() // "Suggests", // "Recommends", "Conflicts", + "Breaks", "Replaces",0}; unsigned long Result = INIT_FCS; char S[1024]; |