Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastGamer81 authored Apr 28, 2024
1 parent 1360219 commit 61e1461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ launchJavaServer() {
BUILD_NUMBER=$(curl -s https://api.purpurmc.org/v2/purpur/${MINECRAFT_VERSION} | jq -r '.builds.latest')
JAR_NAME=purpur-${MINECRAFT_VERSION}-${BUILD_NUMBER}.jar
DOWNLOAD_URL=https://api.purpurmc.org/v2/purpur/${MINECRAFT_VERSION}/${BUILD_NUMBER}/download
mkdir verify
mkdir verify -p
curl -o verify/server.jar "${DOWNLOAD_URL}"
fi
shasum verify/server.jar > debugshasum.txt 2>&1
shasum verify/server.jar | grep -o '^[0-9a-f]*' > debugshasum.txt 2>&1
# Remove 200 mb to prevent server freeze
number=200
memory=$((SERVER_MEMORY - number))
Expand Down

0 comments on commit 61e1461

Please sign in to comment.