summaryrefslogtreecommitdiff
path: root/apt-pkg/sourcelist.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-01-17 20:41:55 +0100
committerMichael Vogt <mvo@debian.org>2014-01-17 20:41:55 +0100
commit866e9fadf892368fcb50e6a192bcdd350cfe8e5c (patch)
treeb3d269ea0a18ece35951cfe76e6d701423aee883 /apt-pkg/sourcelist.cc
parent78766f46d043c1c1eeb9869db7e1c5b4093d5274 (diff)
implement suggestion by donkult (thanks!)
Diffstat (limited to 'apt-pkg/sourcelist.cc')
-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 09d8287a0..51b766095 100644
--- a/apt-pkg/sourcelist.cc
+++ b/apt-pkg/sourcelist.cc
@@ -78,7 +78,7 @@ bool pkgSourceList::Type::ParseStanza(vector<metaIndex *> &List,
{
map<string, string> Options;
- string URI = Tags.FindS("Uri");
+ string URI = Tags.FindS("URI");
if (!FixupURI(URI))
{
_error->Error(_("Malformed stanza %u in source list %s (URI parse)"),i,Fd.Name().c_str());
@@ -87,7 +87,7 @@ bool pkgSourceList::Type::ParseStanza(vector<metaIndex *> &List,
// Define external/internal options
const char* option_deb822[] = {
- "Architectures", "Architectures-Add", "Architectures-Delete", "Trusted",
+ "Architectures", "Architectures-Add", "Architectures-Remove", "Trusted",
};
const char* option_internal[] = {
"arch", "arch+", "arch-", "trusted",