From: Julian Andres Klode Date: Sun, 24 Aug 2014 16:43:07 +0000 (+0200) Subject: Fix debListParser to accept "no" as a value for the Multi-Arch field X-Git-Tag: 1.0.7~10 X-Git-Url: https://git.hcoop.net/ntk/apt.git/commitdiff_plain/8f617600aeb931574baf0b53617e7759baa3f370 Fix debListParser to accept "no" as a value for the Multi-Arch field Seems this was missed somehow. Closes: #759099 --- diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc index 02b9cb23..28c89854 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)