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:
parent
4079467b9b
commit
305169b164
1 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,14 @@ source /usr/share/yunohost/helpers
|
||||||
secret=$(ynh_string_random --length=32)
|
secret=$(ynh_string_random --length=32)
|
||||||
cron_key=$(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
|
# INSTALL DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue