From 4a68d0757dbf08e5a6b34b85f305aedc2f043735 Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Thu, 30 May 2024 13:16:26 +0200 Subject: [PATCH] fix: typo in variable assignement from expression --- forgejo/_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forgejo/_install.sh b/forgejo/_install.sh index b92f213..2dbf78d 100644 --- a/forgejo/_install.sh +++ b/forgejo/_install.sh @@ -1,5 +1,5 @@ # Get latest forgejo tag -LATEST=curl -fsS https://codeberg.org/forgejo/forgejo/releases/latest | grep -o "[0-9].[0-9].[0-9]" | head -1 +LATEST=$(curl -fsS https://codeberg.org/forgejo/forgejo/releases/latest | grep -o "[0-9].[0-9].[0-9]" | head -1) # Check if already installed if [[ $(forgejo -v 2> /dev/null | grep -o "[0-9].[0-9].[0-9]" | head -1) != $LATEST ]]; then