From bfd3f6a42c62e38bcdff6b015b99549a21d02498 Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Wed, 12 Jun 2024 15:54:17 +0200 Subject: [PATCH] helpers: repo: fix APKINDEX path handling (MR 2252) We were appending .tar.gz twice! since commit ("treewide: adopt pathlib.Path and type hinting") Signed-off-by: Caleb Connolly --- pmb/helpers/repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/helpers/repo.py b/pmb/helpers/repo.py index 31e160e2..b18356a9 100644 --- a/pmb/helpers/repo.py +++ b/pmb/helpers/repo.py @@ -161,7 +161,7 @@ def update(arch: Optional[Arch]=None, force=False, existing_only=False): # APKINDEX file name from the URL url_full = f"{url}/{arch}/APKINDEX.tar.gz" cache_apk_outside = get_context().config.work / f"cache_apk_{arch}" - apkindex = cache_apk_outside / f"{apkindex_hash(url)}.tar.gz" + apkindex = cache_apk_outside / f"{apkindex_hash(url)}" # Find update reason, possibly skip non-existing or known 404 files reason = None