]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-method.cc
* mirror-failure.py: example mirror failure cgi
[apt.git] / apt-pkg / acquire-method.cc
index 41b832f3babe7fc106caec319ed6daf35e39e7f6..638797657d94afaeea1775e26ad3f66696d22dec 100644 (file)
@@ -368,6 +368,7 @@ int pkgAcqMethod::Run(bool Single)
            
            Tmp->Uri = LookupTag(Message,"URI");
            Tmp->DestFile = LookupTag(Message,"FileName");
            
            Tmp->Uri = LookupTag(Message,"URI");
            Tmp->DestFile = LookupTag(Message,"FileName");
+           Tmp->ExpectedMD5 = LookupTag(Message,"ExpectedMD5");
            if (StrToTime(LookupTag(Message,"Last-Modified"),Tmp->LastModified) == false)
               Tmp->LastModified = 0;
            Tmp->IndexFile = StringToBool(LookupTag(Message,"Index-File"),false);
            if (StrToTime(LookupTag(Message,"Last-Modified"),Tmp->LastModified) == false)
               Tmp->LastModified = 0;
            Tmp->IndexFile = StringToBool(LookupTag(Message,"Index-File"),false);