mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Docker: Update start-latest.sh (grep -i)
Use -i if case changes for the Location: header
This commit is contained in:
parent
2dfec8b047
commit
0e2ebf484b
1 changed files with 1 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
cd /opt/data || exit 1
|
cd /opt/data || exit 1
|
||||||
|
|
||||||
# Get latest release tag
|
# 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
|
# Download latest version
|
||||||
curl -L https://github.com/MCCTeam/Minecraft-Console-Client/releases/download/${RELEASE_TAG}/MinecraftClient.exe --output MinecraftClient.exe
|
curl -L https://github.com/MCCTeam/Minecraft-Console-Client/releases/download/${RELEASE_TAG}/MinecraftClient.exe --output MinecraftClient.exe
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue