From 756ca7b1ca47c02e05219dd681f9549b07d1d077 Mon Sep 17 00:00:00 2001 From: Kayou Date: Fri, 2 Aug 2024 14:04:21 +0200 Subject: [PATCH] remove path_no_slash --- scripts/install | 6 ------ scripts/upgrade | 6 ------ 2 files changed, 12 deletions(-) diff --git a/scripts/install b/scripts/install index 9068b61..976d37b 100644 --- a/scripts/install +++ b/scripts/install @@ -71,12 +71,6 @@ done #================================================= ynh_script_progression --message="Configuring NGINX web server..." -if [ $path = "/" ]; then - path_no_slash="" -else - path_no_slash="$path" -fi - # Create a dedicated NGINX config ynh_add_nginx_config diff --git a/scripts/upgrade b/scripts/upgrade index d293121..908fb61 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -76,12 +76,6 @@ done #================================================= ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 -# if [ $path = "/" ]; then -# path_no_slash="" -# else -# path_no_slash="$path" -# fi - # Create a dedicated NGINX config ynh_add_nginx_config