alpm: support searching in multiple repos
This commit is contained in:
parent
13cca483e1
commit
7b2a464821
|
@ -20,7 +20,7 @@ async def get_version(name, conf, *, cache, **kwargs):
|
|||
|
||||
repo = conf.get('repo')
|
||||
if repo is None:
|
||||
repos = ['core', 'extra', 'community', 'multilib']
|
||||
repos = conf.get('repos') or ['core', 'extra', 'community', 'multilib']
|
||||
else:
|
||||
repos = [repo]
|
||||
|
||||
|
|
Loading…
Reference in New Issue