mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
fix(upgrade): missing use_ldap in upgrade (#82)
* fix(upgrade): missing use_ldap loading in upgrade * style: tabs
This commit is contained in:
parent
3d5d8df10d
commit
e19dc4052f
1 changed files with 9 additions and 0 deletions
|
@ -34,6 +34,15 @@ if [ -z "${max_file_size:-}" ]; then
|
|||
ynh_app_setting_set --app=$app --key=max_file_size --value=$max_file_size
|
||||
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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue