From fbb151e90c821ba8a8f9489f7ef5dcf2157d942e Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Sat, 20 May 2023 13:39:28 +0200 Subject: [PATCH] bash and me :D --- scripts/upgrade | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 5ae09ba..1fef0bf 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -60,9 +60,8 @@ else fi # Retrieve the password from the .env file -if [ -z $password ]; -then - password = $(ynh_read_var_in_file --file="$install_dir/.env" --key="MINIO_ROOT_PASSWORD") +if [ -z $password ]; then + password=$(ynh_read_var_in_file --file="$install_dir/.env" --key="MINIO_ROOT_PASSWORD") fi #=================================================