diff options
author | Michael Vogt <egon@debian-devbox> | 2011-08-05 10:48:18 +0200 |
---|---|---|
committer | Michael Vogt <egon@debian-devbox> | 2011-08-05 10:48:18 +0200 |
commit | c5f661b715fbd86fcbca694c44bb8422f01db267 (patch) | |
tree | 064181b494c129c394314f7c337e143a04d2101f /apt-pkg/acquire-item.h | |
parent | 8efc4d7b07ea389aa26eb017b66080eee2940653 (diff) |
* apt-pkg/acquire-item.{cc,h}:
- do not check for a "Package" tag in optional index targets
like the translations index
Diffstat (limited to 'apt-pkg/acquire-item.h')
-rw-r--r-- | apt-pkg/acquire-item.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h index f39a90c0b..13be17a01 100644 --- a/apt-pkg/acquire-item.h +++ b/apt-pkg/acquire-item.h @@ -559,6 +559,16 @@ class pkgAcqIndex : public pkgAcquire::Item */ bool Erase; + /** \brief Verify for correctness by checking if a "Package" + * tag is found in the index. This can be set to + * false for optional index targets + * + */ + // FIXME: instead of a bool it should use a verify string that will + // then be used in the pkgAcqIndex::Done method to ensure that + // the downloaded file contains the expected tag + bool Verify; + /** \brief The download request that is currently being * processed. */ |