From cb465e8573aaa82fdefe54652af6b34908daf2d0 Mon Sep 17 00:00:00 2001 From: Kayou Date: Tue, 23 Jul 2024 13:48:14 +0200 Subject: [PATCH] reenable ynh_delete_file_checksum of the nginx error conf file, let's wait the CI --- scripts/change_url | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 31f1e6e..1238ffd 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -44,8 +44,9 @@ nginx_extra_conf_dir=/etc/nginx/conf.d/$old_domain.d/$app.d # Change the path in the NGINX config file if [ $change_path -eq 1 ] -ynh_print_info --message="Change the path in the Nginx config file" then + ynh_print_info --message="Change the path in the Nginx config file" + # Make a backup of the original NGINX config file if modified ynh_backup_if_checksum_is_different --file="$nginx_conf_path" @@ -69,7 +70,7 @@ then # Delete file checksum for the old conf file location ynh_delete_file_checksum --file="$nginx_conf_path" ynh_delete_file_checksum --file="$nginx_extra_conf_dir/php.conf" - #ynh_delete_file_checksum --file="$nginx_extra_conf_dir/nginx-code-error.conf" + ynh_delete_file_checksum --file="$nginx_extra_conf_dir/nginx-code-error.conf" path_url="$new_path" domain="$old_domain" @@ -82,7 +83,7 @@ then # Store file checksum for the new config file location ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.d/php.conf" - #ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.d/nginx-code-error.conf" + ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.d/nginx-code-error.conf" fi #=================================================