Skip to content

Commit

Permalink
Follow latest download redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 authored Dec 16, 2023
1 parent f50873f commit 640436b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pterodactyl-geyser/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ "${AUTO_UPDATE}" == "1" ]; then
if [ "$LATEST_HASH" != "$CURRENT_HASH" ]; then
echo "Update available!"
echo "Updating from '$CURRENT_HASH' -> '$LATEST_HASH'"
curl -s -o ${SERVER_JARFILE} https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/standalone
curl -L -s -o ${SERVER_JARFILE} https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/standalone

echo "$LATEST_HASH" > ".currenthash"
echo "Updated!"
Expand Down

0 comments on commit 640436b

Please sign in to comment.