From d873482487400b88719e5de7ebb66cd4fa7514b2 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 16 Dec 2023 18:16:10 +0100 Subject: [PATCH] Save the secret as a setting --- scripts/install | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/install b/scripts/install index 4037416..005049a 100644 --- a/scripts/install +++ b/scripts/install @@ -4,6 +4,7 @@ source _common.sh source /usr/share/yunohost/helpers export secret=$(ynh_string_random 24) +ynh_app_setting_set --app=$app --key=secret --value=$secret #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE