1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgwarehouse_ynh.git synced 2024-09-03 18:16:17 +02:00

Update install

This commit is contained in:
Éric Gaspar 2023-10-17 14:41:29 +02:00
parent 4079467b9b
commit 305169b164

View file

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