summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt-pkg/sourcelist.h2
-rw-r--r--apt-private/private-install.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/sourcelist.h b/apt-pkg/sourcelist.h
index 4943dd32a..cdf8d9762 100644
--- a/apt-pkg/sourcelist.h
+++ b/apt-pkg/sourcelist.h
@@ -117,7 +117,7 @@ class pkgSourceList
time_t GetLastModifiedTime();
// Add custom metaIndex (e.g. local files)
- void Add(metaIndex *mi) {
+ void AddMetaIndex(metaIndex *mi) {
SrcList.push_back(mi);
}
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]);
}
}
}