]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
deprecate Pkg->Name in favor of Grp->Name
[apt.git] / apt-pkg / acquire-item.cc
index bbdd3897ab60eb869e0b1a7dac058ff637bf656b..a3e02cb533e72c7b0c4075ea86b0f7b750df6e62 100644 (file)
@@ -1063,10 +1063,7 @@ string pkgAcqIndex::Custom600Headers() const
       Final += ".gz";
    
    string msg = "\nIndex-File: true";
-   // FIXME: this really should use "IndexTarget::IsOptional()" but that
-   //        seems to be difficult without breaking ABI
-   if (ShortDesc().find("Translation") != 0)
-      msg += "\nFail-Ignore: true";
+
    struct stat Buf;
    if (stat(Final.c_str(),&Buf) == 0)
       msg += "\nLast-Modified: " + TimeRFC1123(Buf.st_mtime);
@@ -1129,7 +1126,7 @@ void pkgAcqIndex::ReverifyAfterIMS(std::string const &FileName)
 void pkgAcqIndex::Done(string Message,unsigned long long Size,HashStringList const &Hashes,
                       pkgAcquire::MethodConfig *Cfg)
 {
-   Item::Done(Message,Size,Hash,Cfg);
+   Item::Done(Message,Size,Hashes,Cfg);
    std::string const compExt = CompressionExtension.substr(0, CompressionExtension.find(' '));
 
    if (Decompression == true)