mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
new list url
This commit is contained in:
parent
77ab90bd6a
commit
e5d2bceb31
2 changed files with 2 additions and 3 deletions
|
@ -220,7 +220,6 @@ app:
|
||||||
-n:
|
-n:
|
||||||
full: --name
|
full: --name
|
||||||
help: Name of the list (default fapp)
|
help: Name of the list (default fapp)
|
||||||
pattern: '^[a-z0-9_]+$'
|
|
||||||
|
|
||||||
### app_listlists()
|
### app_listlists()
|
||||||
listlists:
|
listlists:
|
||||||
|
|
|
@ -56,8 +56,8 @@ def app_fetchlist(url=None, name=None):
|
||||||
except OSError: os.makedirs(repo_path)
|
except OSError: os.makedirs(repo_path)
|
||||||
|
|
||||||
if not url:
|
if not url:
|
||||||
url = 'http://fapp.yunohost.org/app/list/raw'
|
url = 'http://app.yunohost.org/list.json'
|
||||||
name = "fapp"
|
name = 'yunohost'
|
||||||
else:
|
else:
|
||||||
if not name: raise YunoHostError(22, _("You must indicate a name for your custom list"))
|
if not name: raise YunoHostError(22, _("You must indicate a name for your custom list"))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue