From 97efc27f0723f09405d7a1836ab21c2e2948eb10 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 5 Aug 2011 11:00:46 +0200 Subject: apt-pkg/acquire-item.cc: always init Verify --- apt-pkg/acquire-item.cc | 4 ++++ debian/changelog | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index d0fbf948f..d8fa1f828 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -808,8 +808,12 @@ pkgAcqIndex::pkgAcqIndex(pkgAcquire *Owner, IndexTarget const *Target, if (CompressionExtension.empty() == false) CompressionExtension.erase(CompressionExtension.end()-1); + // only verify non-optional targets, see acquire-item.h for a FIXME + // to make this more flexible if (Target->IsOptional()) Verify = false; + else + Verify = true; Init(Target->URI, Target->Description, Target->ShortDesc); } diff --git a/debian/changelog b/debian/changelog index f0c0790fb..c4197721f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -apt (0.8.16~exp5) UNRELEASEDexperimental; urgency=low +apt (0.8.16~exp5) experimental; urgency=low * apt-pkg/makefile: - install sha256.h compat header @@ -11,7 +11,7 @@ apt (0.8.16~exp5) UNRELEASEDexperimental; urgency=low - do not check for a "Package" tag in optional index targets like the translations index - -- Michael Vogt Fri, 05 Aug 2011 09:11:42 +0200 + -- Michael Vogt Fri, 05 Aug 2011 10:57:08 +0200 apt (0.8.16~exp4) experimental; urgency=low -- cgit v1.2.3