From 1ef030d33888ac246deafb817764690ed562ab7c Mon Sep 17 00:00:00 2001 From: Jesse Antoszyk <22500761+jcantosz@users.noreply.github.com> Date: Tue, 22 Oct 2024 11:07:27 -0400 Subject: [PATCH] conditional variable spacing --- install/ghostfolio-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/ghostfolio-install.sh b/install/ghostfolio-install.sh index ffdc906e..ee71a040 100644 --- a/install/ghostfolio-install.sh +++ b/install/ghostfolio-install.sh @@ -103,7 +103,7 @@ $STD apt-get install -y --no-install-suggests \ python3 # Determine the latest version if needed -if [[ $GHOSTFOLIO_VERSION == 'latest']]; then +if [[ "$GHOSTFOLIO_VERSION" == "latest" ]]; then $STD version=$(curl -Ls -o /dev/null -w %{url_effective} https://github.com/ghostfolio/ghostfolio/releases/latest) $STD GHOSTFOLIO_VERSION=${version##*/} fi