mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-26 10:23:10 -04:00
distro: fixup package repo downloading and scanning
This commit is contained in:
parent
ea7df92b7f
commit
597390c1e6
2 changed files with 4 additions and 3 deletions
|
@ -12,7 +12,7 @@ from .package import PackageInfo
|
|||
|
||||
def resolve_url(url_template, repo_name: str, arch: str):
|
||||
result = url_template
|
||||
for template, replacement in {'$repo': repo_name, '$arch': config.runtime['arch']}.items():
|
||||
for template, replacement in {'$repo': repo_name, '$arch': arch}.items():
|
||||
result = result.replace(template, replacement)
|
||||
return result
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue