alpm: support searching in multiple repos

This commit is contained in:
Moody Liu 2022-08-21 14:51:06 +01:00 committed by GitHub
parent 13cca483e1
commit 7b2a464821
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ async def get_version(name, conf, *, cache, **kwargs):
repo = conf.get('repo') repo = conf.get('repo')
if repo is None: if repo is None:
repos = ['core', 'extra', 'community', 'multilib'] repos = conf.get('repos') or ['core', 'extra', 'community', 'multilib']
else: else:
repos = [repo] repos = [repo]