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

Fix warning

This commit is contained in:
Josué Tille 2024-02-28 23:37:28 +01:00
parent a78e6031a0
commit 924688c03c
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -333,8 +333,8 @@ ynh_app_setting_set --app=$app --key=path --value=/
if yunohost app map -r --output-as json | jq -r '."'$domain'" | select( . != null ) | .[] | .id' | grep -v "$app" -q; then if yunohost app map -r --output-as json | jq -r '."'$domain'" | select( . != null ) | .[] | .id' | grep -v "$app" -q; then
ynh_print_warn 'An other app is installed on this domain. Now synapse require to be alone on the domain.' ynh_print_warn 'An other app is installed on this domain. Now synapse require to be alone on the domain.'
ynh_print_warn 'To solve this you can:' ynh_print_warn 'To solve this you can:'
ynh_print_warn "- Remove or move all other app which use '$domain'" ynh_print_warn " - Remove or move all other app which use '$domain'"
ynh_print_warn '- Change the url of synapse with the yunohost change-url tool. Note that you will keep the same "server_name" so your users will keep the same username.' ynh_print_warn ' - Change the url of synapse with the yunohost change-url tool. Note that you will keep the same "server_name" so your users will keep the same username.'
fi fi
#================================================= #=================================================