mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Update upgrade
This commit is contained in:
parent
45f272140f
commit
6678d886ce
1 changed files with 6 additions and 5 deletions
|
@ -188,12 +188,13 @@ fi
|
||||||
|
|
||||||
if [ -z "$element_ynh_url" ]
|
if [ -z "$element_ynh_url" ]
|
||||||
then
|
then
|
||||||
|
element_ynh_url="https://matrix.to/"
|
||||||
element_instance="element"
|
element_instance="element"
|
||||||
element_domain=$(ynh_app_setting_get --app $element_instance --key domain)
|
if yunohost --output-as plain app list | grep -q "^$element_instance$"; then
|
||||||
element_path=$(ynh_app_setting_get --app $element_instance --key path)
|
element_domain=$(ynh_app_setting_get --app $element_instance --key domain)
|
||||||
if [ -z "$element_domain" ]; then
|
element_path=$(ynh_app_setting_get --app $element_instance --key path)
|
||||||
element_ynh_url="https://matrix.to/"
|
#if [ -z "$element_domain" ]; then
|
||||||
else
|
#else
|
||||||
element_ynh_url="https://"+element_domain+element_path
|
element_ynh_url="https://"+element_domain+element_path
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue