mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
Fix ==
This commit is contained in:
parent
e11b2e9795
commit
382767ba91
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue