From 19f09d856985410e537f791b3ad0ca07e6ea270e Mon Sep 17 00:00:00 2001 From: Kayou Date: Wed, 24 Jul 2024 10:14:09 +0200 Subject: [PATCH] Note to self - open your eyes BEFORE writing code --- scripts/change_url | 4 ++-- tests.toml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 11ed31f..b50b097 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -68,7 +68,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/code-error.conf" + ynh_delete_file_checksum --file="$nginx_extra_conf_dir/error-code.conf" path_url="$new_path" domain="$old_domain" @@ -86,7 +86,7 @@ then fi if [ $custom_error_file -eq 1 ] then - ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.d/code-error.conf" + ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.d/error-code.conf" fi fi diff --git a/tests.toml b/tests.toml index e4659c6..80bece3 100644 --- a/tests.toml +++ b/tests.toml @@ -7,6 +7,7 @@ test_format = 1.0 # ------------------------------- args.with_sftp = "1" + args.custom_error_file = "0" args.password = "SuperDuper_StrongPassw0rd" args.database = "none" args.phpversion = "8.3"