mirror of
https://github.com/DerTyp7/glassminers-server-docker.git
synced 2025-10-29 12:52:10 +01:00
Remove redundant chmod command
This commit is contained in:
@@ -1,14 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
EXEC=server.out
|
|
||||||
|
|
||||||
echo "[Info] Downloading latest server version..."
|
echo "[Info] Downloading latest server version..."
|
||||||
wget https://github.com/surrealtm/Glassminers/releases/latest/download/GMServer.out -O "$EXEC"
|
wget https://github.com/surrealtm/Glassminers/releases/latest/download/GMServer.out -O "server.out"
|
||||||
|
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "[Error] Download failed! Aborting."
|
echo "[Error] Download failed! Aborting."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod +x "$EXEC"
|
|
||||||
echo "[Info] Download completed successfully."
|
echo "[Info] Download completed successfully."
|
||||||
|
|||||||
Reference in New Issue
Block a user