From a30d4f767513cf32a17fcf6bbc8b011e81677bb0 Mon Sep 17 00:00:00 2001 From: Rodolphe Robles Date: Tue, 7 Apr 2020 00:55:58 +0200 Subject: [PATCH] change also the path for change_url --- scripts/change_url | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index 70bb37f..e3b76c7 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -44,6 +44,7 @@ change_path=0 if [ "$old_path" != "$new_path" ] then change_path=1 +fi #================================================= # STANDARD MODIFICATIONS @@ -56,7 +57,6 @@ nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf # Change the path in the nginx config file if [ $change_path -eq 1 ] then -fi # Make a backup of the original nginx config file if modified ynh_backup_if_checksum_is_different "$nginx_conf_path" # Replace locations starting with old_path