mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Merge pull request #109 from YunoHost/use_official_app_list
[fix] Use official.json app list.
This commit is contained in:
commit
91354a28a7
2 changed files with 4 additions and 4 deletions
|
@ -318,10 +318,10 @@ app:
|
|||
arguments:
|
||||
-u:
|
||||
full: --url
|
||||
help: URL of remote JSON list (default http://fapp.yunohost.org/app/list/raw)
|
||||
help: URL of remote JSON list (default https://yunohost.org/official.json)
|
||||
-n:
|
||||
full: --name
|
||||
help: Name of the list (default fapp)
|
||||
help: Name of the list (default yunohost)
|
||||
extra:
|
||||
pattern: &pattern_listname
|
||||
- !!str ^[a-z0-9_]+$
|
||||
|
|
|
@ -72,7 +72,7 @@ def app_fetchlist(url=None, name=None):
|
|||
|
||||
Keyword argument:
|
||||
name -- Name of the list (default yunohost)
|
||||
url -- URL of remote JSON list (default https://yunohost.org/list.json)
|
||||
url -- URL of remote JSON list (default https://yunohost.org/official.json)
|
||||
|
||||
"""
|
||||
# Create app path if not exists
|
||||
|
@ -80,7 +80,7 @@ def app_fetchlist(url=None, name=None):
|
|||
except OSError: os.makedirs(repo_path)
|
||||
|
||||
if url is None:
|
||||
url = 'https://yunohost.org/list.json'
|
||||
url = 'https://yunohost.org/official.json'
|
||||
name = 'yunohost'
|
||||
else:
|
||||
if name is None:
|
||||
|
|
Loading…
Add table
Reference in a new issue