mirror of
https://github.com/YunoHost-Apps/galene_ynh.git
synced 2024-09-03 18:36:31 +02:00
Update upgrade
This commit is contained in:
parent
6941f078a2
commit
3e24865c82
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ chown $app:$app "$install_dir/live/data/config.json"
|
||||||
|
|
||||||
# Configure Galène LDAP
|
# Configure Galène LDAP
|
||||||
# If key doesn't exist, create it
|
# If key doesn't exist, create it
|
||||||
if [ -z "$key" ]; then
|
if [ -z "${key:-}" ]; then
|
||||||
key=$(jose jwk gen -i '{"kty":"oct","alg":"HS256"}')
|
key=$(jose jwk gen -i '{"kty":"oct","alg":"HS256"}')
|
||||||
ynh_app_setting_set --app=$app --key=key --value=$key
|
ynh_app_setting_set --app=$app --key=key --value=$key
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue