mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
Fix FORGEVERSION -> FORGE_VERSION, remove unneeded statement in default
case
This commit is contained in:
parent
71527b87c1
commit
cb6643a345
@ -133,7 +133,7 @@ function installForge {
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
echo "Checking Forge version information."
|
echo "Checking Forge version information."
|
||||||
case $FORGEVERSION in
|
case $FORGE_VERSION in
|
||||||
RECOMMENDED)
|
RECOMMENDED)
|
||||||
curl -fsSL -o /tmp/forge.json http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
|
curl -fsSL -o /tmp/forge.json http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
|
||||||
FORGE_VERSION=$(cat /tmp/forge.json | jq -r ".promos[\"$VANILLA_VERSION-recommended\"]")
|
FORGE_VERSION=$(cat /tmp/forge.json | jq -r ".promos[\"$VANILLA_VERSION-recommended\"]")
|
||||||
@ -147,9 +147,7 @@ function installForge {
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*) ;;
|
||||||
FORGE_VERSION=$FORGEVERSION
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
normForgeVersion=$VANILLA_VERSION-$FORGE_VERSION-$norm
|
normForgeVersion=$VANILLA_VERSION-$FORGE_VERSION-$norm
|
||||||
|
Loading…
Reference in New Issue
Block a user