]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/deblistparser.cc
Fix debListParser to accept "no" as a value for the Multi-Arch field
[apt.git] / apt-pkg / deb / deblistparser.cc
index 30ae91ccabfd20a3e32c83d988b38afb718a1f08..4ac5aa23837b09420eb8c9ba526186b17870525d 100644 (file)
@@ -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)