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

Update install

This commit is contained in:
Alexandre Aubin 2024-01-06 18:40:36 +01:00 committed by Félix Piédallu
parent 329bda2e27
commit 23992de909

View file

@ -1,27 +1,11 @@
#!/bin/bash #!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh source _common.sh
#source ynh_install_ruby__2
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# RETRIEVE ARGUMENTS FROM THE MANIFEST
#=================================================
secret_key_base=$(ynh_string_random --length=30)
admin_mail=$(ynh_user_get_info --username=$admin --key=mail) admin_mail=$(ynh_user_get_info --username=$admin --key=mail)
#================================================= secret_key_base=$(ynh_string_random --length=30)
# STORE SETTINGS FROM MANIFEST
#=================================================
ynh_script_progression --message="Storing installation settings..." --weight=1
ynh_app_setting_set --app=$app --key=secret_key_base --value=$secret_key_base ynh_app_setting_set --app=$app --key=secret_key_base --value=$secret_key_base
#================================================= #=================================================