Explorar el Código

apt-pkg/acquire-item.cc: always init Verify

Michael Vogt hace 15 años
padre
commit
97efc27f07
Se han modificado 2 ficheros con 6 adiciones y 2 borrados
  1. 4 0
      apt-pkg/acquire-item.cc
  2. 2 2
      debian/changelog

+ 4 - 0
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);
 }

+ 2 - 2
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 <mvo@debian.org>  Fri, 05 Aug 2011 09:11:42 +0200
+ -- Michael Vogt <mvo@debian.org>  Fri, 05 Aug 2011 10:57:08 +0200
 
 apt (0.8.16~exp4) experimental; urgency=low