From 46735ff2313586b5e9bcc1cfc7bc20f52d64ae3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Fri, 16 May 2014 21:36:49 +0200 Subject: [PATCH] [fix] Some fixes after successfull postinstall test --- actionsmap/yunohost.yml | 2 +- bin/yunohost | 2 +- locales/en.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/actionsmap/yunohost.yml b/actionsmap/yunohost.yml index 507cb6673..929eeaa82 100644 --- a/actionsmap/yunohost.yml +++ b/actionsmap/yunohost.yml @@ -963,7 +963,7 @@ tools: action_help: YunoHost post-install api: POST /postinstall configuration: - authenticate: all + authenticate: false lock: false arguments: -d: diff --git a/bin/yunohost b/bin/yunohost index a8c1e88ad..d73241c13 100755 --- a/bin/yunohost +++ b/bin/yunohost @@ -33,7 +33,7 @@ if __name__ == '__main__': # Check that YunoHost is installed if not os.path.isfile('/etc/yunohost/installed') and \ - (len(args) < 2 or args[1] != 'tools' or args[2] != 'postinstall'): + (len(args) < 2 or args[0] != 'tools' or args[1] != 'postinstall'): from moulinette.interfaces.cli import colorize, get_locale # Init i18n diff --git a/locales/en.json b/locales/en.json index 2c25aacff..665c81b19 100644 --- a/locales/en.json +++ b/locales/en.json @@ -9,7 +9,7 @@ "no_list_found" : "No list found", "custom_list_name_required" : "You must provide a name for your custom list", "list_retrieve_error" : "Unable to retrieve the remote list", - "list_feteched" : "List successfully fetched", + "list_fetched" : "List successfully fetched", "list_unknown" : "Unknown list", "list_removed" : "List successfully removed", "app_unknown" : "Unknown app",