1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Update scripts/install

Co-Authored-By: Josue-T <josue@tille.ch>
This commit is contained in:
Thatoo 2019-11-09 15:58:18 +01:00 committed by GitHub
parent a1735bf241
commit 30a9f63c22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,7 +227,7 @@ ynh_app_setting_set --app=$app --key=form_secret --value="$form_secret"
ynh_print_ON
# Create .well-known redirection for access by federation
if [[ $server_name != $domain ]]
if yunohost --output-as plain domain list | grep -q "^$server_name$"
then
cp ../conf/server_name.conf /etc/nginx/conf.d/${server_name}.d/server_name.conf
fi