forked from Mirror/pmbootstrap
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 <caleb@postmarketos.org>
This commit is contained in:
parent
ff86792fb6
commit
bfd3f6a42c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue