mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Use dedicated app list domain.
This commit is contained in:
parent
b1921358a7
commit
4833b6b2b2
2 changed files with 3 additions and 3 deletions
|
@ -334,7 +334,7 @@ app:
|
||||||
arguments:
|
arguments:
|
||||||
-u:
|
-u:
|
||||||
full: --url
|
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:
|
-n:
|
||||||
full: --name
|
full: --name
|
||||||
help: Name of the list (default yunohost)
|
help: Name of the list (default yunohost)
|
||||||
|
|
|
@ -80,7 +80,7 @@ def app_fetchlist(url=None, name=None):
|
||||||
|
|
||||||
Keyword argument:
|
Keyword argument:
|
||||||
name -- Name of the list (default yunohost)
|
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
|
# Create app path if not exists
|
||||||
|
@ -88,7 +88,7 @@ def app_fetchlist(url=None, name=None):
|
||||||
except OSError: os.makedirs(repo_path)
|
except OSError: os.makedirs(repo_path)
|
||||||
|
|
||||||
if url is None:
|
if url is None:
|
||||||
url = 'https://yunohost.org/official.json'
|
url = 'https://app.yunohost.org/official.json'
|
||||||
name = 'yunohost'
|
name = 'yunohost'
|
||||||
else:
|
else:
|
||||||
if name is None:
|
if name is None:
|
||||||
|
|
Loading…
Add table
Reference in a new issue