From 7e8eab45dd977aabf59b8af5a8363fbc997e626a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Thu, 15 Sep 2022 15:09:17 +0200 Subject: [PATCH] release: fix typo in 'Acquire-By-Hash' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit to allow detection of repositories that support downloading indices via their hash instead of their filename. Signed-off-by: Fabian Grünbichler --- src/deb822/release_file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deb822/release_file.rs b/src/deb822/release_file.rs index 5888728..355b246 100644 --- a/src/deb822/release_file.rs +++ b/src/deb822/release_file.rs @@ -342,7 +342,7 @@ impl TryFrom for ReleaseFile { parsed.suite = value.suite; parsed.version = value.version; - parsed.aquire_by_hash = match value.extra_fields.get("Aquire-By-Hash") { + parsed.aquire_by_hash = match value.extra_fields.get("Acquire-By-Hash") { Some(val) => *val == "yes", None => false, }; -- 2.39.2