From 791d7880e9a25ffe81d40db8a31a41dd3be03124 Mon Sep 17 00:00:00 2001 From: Aurelien Vaillant Date: Fri, 18 Aug 2023 11:06:48 +0200 Subject: [PATCH] Fix the install script --- scripts/install | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index f88e123..2edeba2 100644 --- a/scripts/install +++ b/scripts/install @@ -63,12 +63,8 @@ then YNH_PHP_VERSION="$phpversion" fi -if [ $custom_error_file -eq 1 ] -then - ynh_add_config --template="nginx-code-error.conf" --destination="$nginx_extra_conf_dir/error-code.conf" - #CUSTOM_ERROR_FILE="$custom_error_file" -fi - +# Add the custom error build with the application +ynh_add_config --template="nginx-code-error.conf" --destination="$nginx_extra_conf_dir/error-code.conf" # Create a dedicated NGINX config ynh_add_nginx_config ynh_add_config --template="example-custom-nginx-config.conf" --destination="$nginx_extra_conf_dir/sample.conf"