diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-04-26 00:00:51 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-04-28 09:59:33 +0200 |
commit | 0d29b9d4368284782862c7b507c47002b79ddb27 (patch) | |
tree | bcf0fa5d55cce7eba85f20235648d1728b104924 /apt-pkg/deb/debmetaindex.cc | |
parent | a298a1dc595c548e6c10b48b8e69d987e5be1c42 (diff) |
WIP local deb install
Diffstat (limited to 'apt-pkg/deb/debmetaindex.cc')
-rw-r--r-- | apt-pkg/deb/debmetaindex.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc index 6fd12add8..67da592d6 100644 --- a/apt-pkg/deb/debmetaindex.cc +++ b/apt-pkg/deb/debmetaindex.cc @@ -471,6 +471,15 @@ class debSLTypeDebian : public pkgSourceList::Type } }; +debDebFileMetaIndex::debDebFileMetaIndex(std::string const &DebFile) + : metaIndex(DebFile, "local-uri", "deb-dist"), DebFile(DebFile) +{ + DebIndex = new debDebPkgFileIndex(DebFile); + Indexes = new vector<pkgIndexFile *>(); + Indexes->push_back(DebIndex); +} + + class debSLTypeDeb : public debSLTypeDebian { public: |