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 in upgrade (#82)

* fix(upgrade): missing use_ldap loading in upgrade

* style: tabs
This commit is contained in:
Hugo Poissonnet 2023-07-18 12:54:19 +02:00 committed by GitHub
parent 3d5d8df10d
commit e19dc4052f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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