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

Remove legacy check on path on change-url

This commit is contained in:
Josué Tille 2024-02-27 07:43:02 +01:00
parent 0d433dc2d7
commit fc56ab1484
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -9,15 +9,6 @@ source ./experimental_helper.sh
source ./_common.sh
source /usr/share/yunohost/helpers
path=$new_path
domain=$new_domain
# Check if the new path stay /_matrix if not exit
if [[ $path != "/_matrix" ]]
then
ynh_die --message "You can't use an other path than '/_matrix'. You can only change the domain."
fi
# We stop the service
ynh_systemd_action --service_name=$app.service.service --action=stop