From db7dcbdd1bad3e08483e8c6e44f1119ad1f3fd19 Mon Sep 17 00:00:00 2001 From: Kayou Date: Tue, 23 Jul 2024 17:43:36 +0200 Subject: [PATCH] =?UTF-8?q?fix=20change=5Furl=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/change_url | 10 ++++++++-- tests.toml | 1 - 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 5fb6b9f..11ed31f 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -80,8 +80,14 @@ then mv $nginx_extra_conf_dir /etc/nginx/conf.d/$new_domain.d/$app.d # 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/code-error.conf" + if [ $phpversion != "none" ] + then + ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.d/php.conf" + 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" + fi fi #================================================= diff --git a/tests.toml b/tests.toml index 52b512b..e4659c6 100644 --- a/tests.toml +++ b/tests.toml @@ -33,7 +33,6 @@ test_format = 1.0 [none_test] - only = ["install.subdir", "backup_restore", "upgrade" ] args.phpversion = "none" [mysql_test]