distro/package: BinaryPackage.acquire(): return (path: str, changed: bool)

This commit is contained in:
InsanePrawn 2023-04-17 07:17:12 +02:00
parent d527769473
commit 0c56038ed6
3 changed files with 11 additions and 9 deletions

View file

@ -316,7 +316,7 @@ def try_download_package(dest_file_path: str, package: Pkgbuild, arch: Arch) ->
url = repo_pkg.resolved_url
assert url
try:
path = repo_pkg.acquire()
path, _ = repo_pkg.acquire()
assert os.path.exists(path)
return path
except HTTPError as e: