From 56915c435799f8392ee9484cb2cf3bff082e1de3 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Sun, 29 Jun 2014 09:55:51 +0400 Subject: [PATCH] Fix order of Component & Archive fields. --- deb/format.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deb/format.go b/deb/format.go index eda8a9f4..4e8d4abc 100644 --- a/deb/format.go +++ b/deb/format.go @@ -12,7 +12,8 @@ type Stanza map[string]string // Canonical order of fields in stanza var canocialOrder = []string{"Package", "Origin", "Label", "Suite", "Version", "Installed-Size", "Priority", "Section", "Maintainer", - "Architecture", "Codename", "Date", "Architectures", "Components", "Description", "MD5sum", "MD5Sum", "SHA1", "SHA256"} + "Architecture", "Codename", "Date", "Architectures", "Components", "Description", "MD5sum", "MD5Sum", "SHA1", "SHA256", + "Archive", "Component"} // Copy returns copy of Stanza func (s Stanza) Copy() (result Stanza) {