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:
parent
9a0a03f2f8
commit
b7b465e245
1 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue