From 3cfeb09440976305f1a1b3248ce1927994f68187 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Fri, 7 May 2021 17:44:17 +0200 Subject: [PATCH] try fix change_url --- conf/app.src | 2 +- scripts/change_url | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/app.src b/conf/app.src index 9f75246..c79ba67 100644 --- a/conf/app.src +++ b/conf/app.src @@ -3,4 +3,4 @@ SOURCE_SUM=b6f3088d063185c17bb63f6b33ee5f3ba481a28f73931060fbc5e844e1a56bf9 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.bz2 SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= \ No newline at end of file +SOURCE_FILENAME= diff --git a/scripts/change_url b/scripts/change_url index 68e37e3..532750e 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -93,7 +93,8 @@ else [ $change_path -eq 1 ] fi # Change the domain for NGINX -if [ $change_domain -eq 1 ]; then +if [ $change_domain -eq 1 ] +then # Delete file checksum for the old conf file location ynh_delete_file_checksum --file="$nginx_conf_path" mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf