From 0e2ebf484b6b8446acf90b357bab8acac338454f Mon Sep 17 00:00:00 2001 From: ORelio Date: Wed, 26 Jan 2022 13:23:18 +0100 Subject: [PATCH] Docker: Update start-latest.sh (grep -i) Use -i if case changes for the Location: header --- Docker/start-latest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docker/start-latest.sh b/Docker/start-latest.sh index 1cd59d06..b129b681 100644 --- a/Docker/start-latest.sh +++ b/Docker/start-latest.sh @@ -3,7 +3,7 @@ cd /opt/data || exit 1 # Get latest release tag -RELEASE_TAG=$(curl -s -v https://github.com/MCCTeam/Minecraft-Console-Client/releases/latest 2>&1 | grep location: | cut -d/ -f8) +RELEASE_TAG=$(curl -s -v https://github.com/MCCTeam/Minecraft-Console-Client/releases/latest 2>&1 | grep -i location: | cut -d/ -f8) # Download latest version curl -L https://github.com/MCCTeam/Minecraft-Console-Client/releases/download/${RELEASE_TAG}/MinecraftClient.exe --output MinecraftClient.exe