summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-18 21:05:24 +0100
committerMichael Vogt <mvo@debian.org>2014-01-18 21:05:24 +0100
commit0ce20d50de158a45a588062754673014675ac993 (patch)
tree7b269c7ed74d53dee686780ba8205a75d1fca80f /apt-pkg
parent24a48afaaea7e6206ced99a13a45f38366231280 (diff)
parent6c069a2247781754bcc8574687cb98b493c6ab8a (diff)
Merge remote-tracking branch 'mvo/feature/source-deb822' into debian/experimental-no-abi-break
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/sourcelist.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/sourcelist.cc b/apt-pkg/sourcelist.cc
index 51b766095..4e580ba04 100644
--- a/apt-pkg/sourcelist.cc
+++ b/apt-pkg/sourcelist.cc
@@ -97,9 +97,9 @@ bool pkgSourceList::Type::ParseStanza(vector<metaIndex *> &List,
Options[option_internal[j]] = Tags.FindS(option_deb822[j]);
// now create one item per suite/section
- string Suite = Tags.FindS("Suite");
+ string Suite = Tags.FindS("Suites");
Suite = SubstVar(Suite,"$(ARCH)",_config->Find("APT::Architecture"));
- string const Section = Tags.FindS("Section");
+ string const Section = Tags.FindS("Sections");
std::vector<std::string> list_dist = StringSplit(Suite, " ");
std::vector<std::string> list_section = StringSplit(Section, " ");