From 0d29b9d4368284782862c7b507c47002b79ddb27 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Sat, 26 Apr 2014 00:00:51 +0200 Subject: WIP local deb install --- apt-pkg/sourcelist.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apt-pkg/sourcelist.h') diff --git a/apt-pkg/sourcelist.h b/apt-pkg/sourcelist.h index 9df0c1d74..4943dd32a 100644 --- a/apt-pkg/sourcelist.h +++ b/apt-pkg/sourcelist.h @@ -116,6 +116,11 @@ class pkgSourceList // query last-modified time time_t GetLastModifiedTime(); + // Add custom metaIndex (e.g. local files) + void Add(metaIndex *mi) { + SrcList.push_back(mi); + } + pkgSourceList(); pkgSourceList(std::string File); ~pkgSourceList(); -- cgit v1.2.3