[enh] Use dedicated app list domain.

This commit is contained in:
opi 2016-03-23 08:53:44 +01:00
parent b1921358a7
commit 4833b6b2b2
2 changed files with 3 additions and 3 deletions

View file

@ -334,7 +334,7 @@ app:
arguments:
-u:
full: --url
help: URL of remote JSON list (default https://yunohost.org/official.json)
help: URL of remote JSON list (default https://app.yunohost.org/official.json)
-n:
full: --name
help: Name of the list (default yunohost)

View file

@ -80,7 +80,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/official.json)
url -- URL of remote JSON list (default https://app.yunohost.org/official.json)
"""
# Create app path if not exists
@ -88,7 +88,7 @@ def app_fetchlist(url=None, name=None):
except OSError: os.makedirs(repo_path)
if url is None:
url = 'https://yunohost.org/official.json'
url = 'https://app.yunohost.org/official.json'
name = 'yunohost'
else:
if name is None: