From e4c293390bb146c34d4dbc9de56fd6516443a03f Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Thu, 17 Nov 2022 14:10:08 +0100 Subject: [PATCH] full name for user create `--first-name` and `--last-name` deprecated --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index d2f1f25..16b8e83 100644 --- a/scripts/restore +++ b/scripts/restore @@ -55,7 +55,7 @@ ynh_script_progression --message="Recreating the dedicated system user..." # Create the dedicated user (if not existing) ynh_system_user_create --username=$app --home_dir=$final_path -yunohost user create ${app}_notifs --firstname "Mobilizon" --lastname "Notifications" --domain "$domain" --password "$ynh_user_password" -q 0 +yunohost user create ${app}_notifs -F Mobilizon Notifications --domain "$domain" --password "$ynh_user_password" -q 0 yunohost user update ${app}_notifs --add-mailalias $app@$domain --add-mailforward $admin_email #=================================================