1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/distbin_ynh.git synced 2024-09-03 18:26:10 +02:00
This commit is contained in:
yalh76 2019-03-20 00:41:35 +01:00
parent e11b2e9795
commit 382767ba91
2 changed files with 2 additions and 2 deletions

View file

@ -104,7 +104,7 @@ ynh_systemd_action --action=stop --service_name=$app
# Change the URL in the configuration file
if [ "$new_path" = "/" ]
if [ "$new_path" == "/" ]
then
new_domain_uri="$new_domain$new_path"
else

View file

@ -196,7 +196,7 @@ ynh_add_systemd_config
### (It's compatible with sed regular expressions syntax)
cp "../conf/.env" "$final_path/.env"
if [ "$path_url" = "/" ]
if [ "$path_url" == "/" ]
then
domain_uri="$domain"
else