]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/sourcelist.cc
rename "Suite/Section" to plural
[apt.git] / apt-pkg / sourcelist.cc
index 51b766095edee84fd307e232e8b0cf00df53da9b..4e580ba04f97a515396d9581505fe14366ebf7d8 100644 (file)
@@ -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, " ");