diff options
author | Julian Andres Klode <jak@debian.org> | 2014-08-24 18:43:07 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2014-08-24 18:46:11 +0200 |
commit | 19fb04e82cdc90d429777fcc4c7a2b33e34d20e5 (patch) | |
tree | 2d99e8692bfbeac25ab30c51ae2f868d6dd86e55 /apt-pkg/deb | |
parent | 9c3e15ab5f8b5864c43a08065a6bc8cf376fd138 (diff) |
Fix debListParser to accept "no" as a value for the Multi-Arch field
Seems this was missed somehow.
Closes: #759099
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r-- | apt-pkg/deb/deblistparser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc index 30ae91cca..4ac5aa238 100644 --- a/apt-pkg/deb/deblistparser.cc +++ b/apt-pkg/deb/deblistparser.cc @@ -108,7 +108,7 @@ unsigned char debListParser::ParseMultiArch(bool const showErrors) /*{{{*/ { unsigned char MA; string const MultiArch = Section.FindS("Multi-Arch"); - if (MultiArch.empty() == true) + if (MultiArch.empty() == true || MultiArch == "no") MA = pkgCache::Version::None; else if (MultiArch == "same") { if (ArchitectureAll() == true) |