From 2f36df379aa4a18bdcca1e224241b55791a862cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 27 Apr 2023 18:31:57 +0200 Subject: [PATCH] Update install --- scripts/install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/install b/scripts/install index 940baf1..fee6910 100755 --- a/scripts/install +++ b/scripts/install @@ -15,6 +15,13 @@ source /usr/share/yunohost/helpers password=$(ynh_string_random 24) admin_password=$(openssl passwd -1 -salt xyz $password) +admin_username=$YNH_APP_ARG_USERNAME +admin_name=$YNH_APP_ARG_NAME +admin_email=$YNH_APP_ARG_EMAIL + +ynh_app_setting_set --app=$app --key=admin_username --value=$admin_username +ynh_app_setting_set --app=$app --key=admin_name --value=$admin_name +ynh_app_setting_set --app=$app --key=admin_email --value=$admin_email #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE