]> git.proxmox.com Git - proxmox-apt.git/commitdiff
release: fix typo in 'Acquire-By-Hash'
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 15 Sep 2022 13:09:17 +0000 (15:09 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 16 Sep 2022 12:09:29 +0000 (14:09 +0200)
to allow detection of repositories that support downloading indices via
their hash instead of their filename.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/deb822/release_file.rs

index 588872816eb9c0791b710008a3a931071d3464fc..355b2461d2220338313240f2e66e8608ec5220da 100644 (file)
@@ -342,7 +342,7 @@ impl TryFrom<ReleaseFileRaw> 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,
         };