From dd116236207b729c6f6ef29b03c80b18db3e9aa4 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Wed, 13 Sep 2017 20:55:29 +0200 Subject: [PATCH] Add admin parameter, remove language --- manifest.json | 10 +++++++++- scripts/install | 2 -- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index d8fbc3b..53a6312 100644 --- a/manifest.json +++ b/manifest.json @@ -45,7 +45,15 @@ "en": "Is it a public server ?" }, "default": "0" - } + }, + { + "name": "admin", + "type": "user", + "ask": { + "en": "Choose an admin user" + }, + "example": "simon" + }, ] } diff --git a/scripts/install b/scripts/install index 6f23e7f..921df1f 100755 --- a/scripts/install +++ b/scripts/install @@ -24,7 +24,6 @@ domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH admin=$YNH_APP_ARG_ADMIN is_public=$YNH_APP_ARG_IS_PUBLIC -language=$YNH_APP_ARG_LANGUAGE # This is a multi-instance app, meaning it can be installed several times independently # The id of the app as stated in the manifest is available as $YNH_APP_ID @@ -61,7 +60,6 @@ ynh_app_setting_set $app domain $domain ynh_app_setting_set $app path $path_url ynh_app_setting_set $app admin $admin ynh_app_setting_set $app is_public $is_public -ynh_app_setting_set $app language $language #================================================= # STANDARD MODIFICATIONS