HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5803c1d
)
Fix debListParser to accept "no" as a value for the Multi-Arch field
author
Julian Andres Klode
<jak@debian.org>
Sun, 24 Aug 2014 16:43:07 +0000
(18:43 +0200)
committer
Julian Andres Klode
<jak@debian.org>
Sun, 24 Aug 2014 16:43:07 +0000
(18:43 +0200)
Seems this was missed somehow.
Closes: #759099
apt-pkg/deb/deblistparser.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/deb/deblistparser.cc
b/apt-pkg/deb/deblistparser.cc
index
02b9cb2
..
28c8985
100644
(file)
--- 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)