From 305169b16473f768e58f81f2396198a3d3223fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 17 Oct 2023 14:41:29 +0200 Subject: [PATCH] Update install --- scripts/install | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/install b/scripts/install index 6d8c5eb..cf8db0d 100755 --- a/scripts/install +++ b/scripts/install @@ -12,6 +12,14 @@ source /usr/share/yunohost/helpers secret=$(ynh_string_random --length=32) cron_key=$(ynh_string_random --length=32) +#================================================= +# STORE SETTINGS FROM MANIFEST +#================================================= +ynh_script_progression --message="Storing installation settings..." --weight=1 + +ynh_app_setting_set --app=$app --key=secret --value=$secret +ynh_app_setting_set --app=$app --key=cron_key --value=$cron_key + #================================================= # INSTALL DEPENDENCIES #=================================================