1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

Upgrade to 0.6.1

This commit is contained in:
ericgaspar 2022-10-09 11:29:10 +02:00
parent 7b2d9a391f
commit 96f7b2f397
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
SOURCE_URL=https://github.com/jech/galene/archive/refs/tags/galene-0.6.tar.gz
SOURCE_URL=https://github.com/jech/galene/archive/refs/tags/galene-0.6.1.tar.gz
SOURCE_SUM=672645e6d888e5a0c3b843355c85801e21bfea6f054fd6bafda5a0e9aebc589e
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz

View file

@ -165,12 +165,12 @@ chown -R $app:www-data "$datadir"
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
# Configure Galene
# Configure Galène
ynh_add_config --template="../conf/config.json" --destination="$final_path/live/data/config.json"
chmod 400 "$final_path/live/data/config.json"
chown $app:$app "$final_path/live/data/config.json"
# Configure Galene LDAP
# Configure Galène LDAP
key=$(jose jwk gen -i '{"kty":"oct","alg":"HS256"}')
ynh_app_setting_set --app=$app --key=key --value="$key"
ynh_add_config --template="../conf/galene-ldap.json" --destination="$final_path/live_ldap/data/galene-ldap.json"