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

fix wrong if set variable

This commit is contained in:
Nouts 2019-08-24 15:49:44 +02:00
parent 9a0a03f2f8
commit b7b465e245

View file

@ -32,10 +32,9 @@ report_stats="False"
#=================================================
domain=$YNH_APP_ARG_DOMAIN
server_name=$YNH_APP_ARG_SERVER_NAME
if [ $server_name == "Same than the domain" ]; then
server_name=$domain
else
server_name=$YNH_APP_ARG_SERVER_NAME
server_name=$domain
fi
is_public=$YNH_APP_ARG_IS_PUBLIC
path_url="/_matrix"