diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-05-07 16:41:25 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-05-07 16:41:25 +0200 |
commit | aaf677da5b62d3d0fdeb26f9b4c63fed544b63cd (patch) | |
tree | fb5abe86260b24708a7d70944bd1c07b7aace13f /apt-private/private-install.cc | |
parent | 94f6611592b4b77ac257ec37445776ac2845f682 (diff) |
move pkgSourceList::AddMetaIndex() into a private subclass until we decide about a good API
Diffstat (limited to 'apt-private/private-install.cc')
-rw-r--r-- | apt-private/private-install.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index e7606a1d1..35649fcdb 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -685,7 +685,9 @@ bool DoInstall(CommandLine &CmdL) std::map<std::string, std::string> Options; if(Type->CreateItem(List, *I, "", "", Options)) { - pkgSourceList *sources = Cache.GetSourceList(); + // we have our own CacheFile that gives us a SourceList + // with superpowerz + SourceList *sources = (SourceList*)Cache.GetSourceList(); sources->AddMetaIndex(List[0]); } } |