]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debsrcrecords.cc
merged debian-sid branch and resolved conflicts
[apt.git] / apt-pkg / deb / debsrcrecords.cc
index 37d38ee5ba8f7e77d04aa9dac5bb57d01ae93f03..f5fb2da4a843a54c4cee7c1d1b6bac733619d8d7 100644 (file)
@@ -157,6 +157,9 @@ bool debSrcRecordParser::Files(std::vector<pkgSrcRecords::File> &List)
                                  SourceHashFields[i].first);
          // assign full hash string
          F.Hash = HashString(SourceHashFields[i].second, RawHash).toStr();
+         // API compat hack 
+         if(SourceHashFields[i].second == "MD5Sum")
+            F.MD5Hash = RawHash;
          
          // Parse the size and append the directory
          F.Size = atoi(Size.c_str());