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 #=================================================