1
0
Fork 0
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:
ericgaspar 2023-03-19 08:10:57 +01:00
parent 6941f078a2
commit 3e24865c82

View file

@ -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