summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-05-07 16:23:37 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-05-07 16:23:37 +0200
commit94f6611592b4b77ac257ec37445776ac2845f682 (patch)
tree74c20273115686b55874c468dc10adc83ac585f5 /apt-private
parent713ee8ad3f4d7be00d2fbacd979e78772f24a675 (diff)
rename pkgSourceList::Add() to pkgSourceList::AddMetaIndex()
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-install.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc
index 4a68bb9d1..e7606a1d1 100644
--- a/apt-private/private-install.cc
+++ b/apt-private/private-install.cc
@@ -686,7 +686,7 @@ bool DoInstall(CommandLine &CmdL)
if(Type->CreateItem(List, *I, "", "", Options))
{
pkgSourceList *sources = Cache.GetSourceList();
- sources->Add(List[0]);
+ sources->AddMetaIndex(List[0]);
}
}
}