distro/package: BinaryPackage.acquire(): return (path: str, changed: bool)
This commit is contained in:
parent
d527769473
commit
0c56038ed6
3 changed files with 11 additions and 9 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue