[fix] Some fixes after successfull postinstall test

This commit is contained in:
Jérôme Lebleu 2014-05-16 21:36:49 +02:00
parent b0ad058e6d
commit 46735ff231
3 changed files with 3 additions and 3 deletions

View file

@ -963,7 +963,7 @@ tools:
action_help: YunoHost post-install action_help: YunoHost post-install
api: POST /postinstall api: POST /postinstall
configuration: configuration:
authenticate: all authenticate: false
lock: false lock: false
arguments: arguments:
-d: -d:

View file

@ -33,7 +33,7 @@ if __name__ == '__main__':
# Check that YunoHost is installed # Check that YunoHost is installed
if not os.path.isfile('/etc/yunohost/installed') and \ 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 from moulinette.interfaces.cli import colorize, get_locale
# Init i18n # Init i18n

View file

@ -9,7 +9,7 @@
"no_list_found" : "No list found", "no_list_found" : "No list found",
"custom_list_name_required" : "You must provide a name for your custom list", "custom_list_name_required" : "You must provide a name for your custom list",
"list_retrieve_error" : "Unable to retrieve the remote 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_unknown" : "Unknown list",
"list_removed" : "List successfully removed", "list_removed" : "List successfully removed",
"app_unknown" : "Unknown app", "app_unknown" : "Unknown app",