Remove redundant chmod command

This commit is contained in:
2025-07-04 01:17:42 +02:00
parent bdc814ccd0
commit 7bc390dc5e

View File

@@ -1,14 +1,11 @@
#!/bin/bash
EXEC=server.out
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
echo "[Error] Download failed! Aborting."
exit 1
fi
chmod +x "$EXEC"
echo "[Info] Download completed successfully."