alpm: community repo is gone

This commit is contained in:
lilydjwg 2023-06-29 14:02:20 +08:00
parent 4e7dce4e93
commit 5a972cd0d0
3 changed files with 3 additions and 3 deletions

View file

@ -868,7 +868,7 @@ repo
Name of the package repository in which the package resides. If not provided, nvchecker will use ``repos`` value, see below.
repos
An array of possible repositories in which the package may reside in, nvchecker will use the first repository which contains the package. If not provided, ``core``, ``extra``, ``community`` and ``multilib`` will be used, in that order.
An array of possible repositories in which the package may reside in, nvchecker will use the first repository which contains the package. If not provided, ``core``, ``extra`` and ``multilib`` will be used, in that order.
dbpath
Path to the ALPM database directory. Default: ``/var/lib/pacman``. You need to update the database yourself.

View file

@ -1,4 +1,4 @@
# MIT licensed
# Copyright (c) 2013-2023 lilydjwg <lilydjwg@gmail.com>, et al.
__version__ = '2.12'
__version__ = '2.13dev'

View file

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