mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
style: tabs
This commit is contained in:
parent
cc67757938
commit
7b5e772d87
1 changed files with 2 additions and 2 deletions
|
@ -35,12 +35,12 @@ if [ -z "${max_file_size:-}" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${use_ldap:-}" ]; then
|
if [ -z "${use_ldap:-}" ]; then
|
||||||
use_ldap=0
|
use_ldap=0
|
||||||
ynh_app_setting_set --app=$app --key=use_ldap --value=$use_ldap
|
ynh_app_setting_set --app=$app --key=use_ldap --value=$use_ldap
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${secret:-}" ]; then
|
if [ -z "${secret:-}" ]; then
|
||||||
secret=$(ynh_string_random --length=24)
|
secret=$(ynh_string_random --length=24)
|
||||||
ynh_app_setting_set --app=$app --key=secret --value=$secret
|
ynh_app_setting_set --app=$app --key=secret --value=$secret
|
||||||
fi
|
fi
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue