diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-09-16 09:31:27 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-09-16 09:31:27 +0200 |
commit | 0a495eb83448737573e4d56e5a7dcf05d08c04ed (patch) | |
tree | a1f179b68c9aa6555d1008e2e1784aaea62f6b0c /apt-pkg/acquire-item.h | |
parent | 9c026d3a0d6cf4bf8e15e456861310750c998275 (diff) |
* apt-pkg/acquire-item.h, apt-pkg/deb/debmetaindex.cc:
- fix fetching language information by adding OptionalSubIndexTarget
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r-- | apt-pkg/acquire-item.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h index f39a90c0b..60ec55fcb 100644 --- a/apt-pkg/acquire-item.h +++ b/apt-pkg/acquire-item.h @@ -687,6 +687,14 @@ class SubIndexTarget : public IndexTarget } }; /*}}}*/ +/** \brief Information about an subindex index file. */ /*{{{*/ +class OptionalSubIndexTarget : public OptionalIndexTarget +{ + virtual bool IsSubIndex() const { + return true; + } +}; + /*}}}*/ /** \brief An acquire item that downloads the detached signature {{{ * of a meta-index (Release) file, then queues up the release |