1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lufi_ynh.git synced 2024-09-03 19:36:28 +02:00

fix(upgrade): missing use_ldap loading in upgrade

This commit is contained in:
HugoPoi 2023-05-29 18:56:32 +02:00
parent 4311a7ac2d
commit cc67757938
No known key found for this signature in database
GPG key ID: E581734975D3836F

View file

@ -34,6 +34,15 @@ if [ -z "${max_file_size:-}" ]; then
ynh_app_setting_set --app=$app --key=max_file_size --value=$max_file_size ynh_app_setting_set --app=$app --key=max_file_size --value=$max_file_size
fi fi
if [ -z "${use_ldap:-}" ]; then
use_ldap=0
ynh_app_setting_set --app=$app --key=use_ldap --value=$use_ldap
fi
if [ -z "${secret:-}" ]; then
secret=$(ynh_string_random --length=24)
ynh_app_setting_set --app=$app --key=secret --value=$secret
fi
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================