]> git.saurik.com Git - apt.git/commitdiff
Ensure that iTFRewritePackageOrder is "MD5sum" to match apt-ftparchive
authorMichael Vogt <mvo@ubuntu.com>
Sun, 21 Sep 2014 19:40:10 +0000 (21:40 +0200)
committerMichael Vogt <mvo@ubuntu.com>
Sun, 21 Sep 2014 19:40:10 +0000 (21:40 +0200)
The iTFRewritePackageOrder is used in indexcopy to copy and normalize
cdrom Packages files. This change will ensure that there is no
"normalization" that changes MD5sum -> MD5Sum which alters the hash
of the Packages file on disk (oh the irony).

apt-pkg/tagfile.cc

index 91d176e3ca3a857f03f70ab725a72fda7f489590..bf865bdc46eea80357be7c0de85b31e51feeac8f 100644 (file)
@@ -526,7 +526,7 @@ static const char *iTFRewritePackageOrder[] = {
                           "Conffiles",
                           "Filename",
                           "Size",
-                          "MD5Sum",
+                          "MD5sum",
                           "SHA1",
                           "SHA256",
                           "SHA512",