mirror of
https://github.com/YunoHost-Apps/dendrite_ynh.git
synced 2024-09-03 18:25:58 +02:00
missing registration
This commit is contained in:
parent
06a1779973
commit
e5d0bc55f8
1 changed files with 7 additions and 0 deletions
|
@ -137,6 +137,13 @@ chown -R $app:root "$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Updating a configuration file..."
|
ynh_script_progression --message="Updating a configuration file..."
|
||||||
|
|
||||||
|
if ynh_permission_has_user --permission=main --user=visitors
|
||||||
|
then
|
||||||
|
registration="true"
|
||||||
|
else
|
||||||
|
registration="false"
|
||||||
|
fi
|
||||||
|
|
||||||
ynh_add_config --template="../conf/dendrite.yaml" --destination="$final_path/dendrite.yaml"
|
ynh_add_config --template="../conf/dendrite.yaml" --destination="$final_path/dendrite.yaml"
|
||||||
|
|
||||||
chmod 400 "$final_path/dendrite.yaml"
|
chmod 400 "$final_path/dendrite.yaml"
|
||||||
|
|
Loading…
Add table
Reference in a new issue