Fix FORGEVERSION -> FORGE_VERSION, remove unneeded statement in default

case
This commit is contained in:
Sascha Askani 2017-06-05 16:08:26 +02:00
parent 71527b87c1
commit cb6643a345

View File

@ -133,7 +133,7 @@ function installForge {
esac
echo "Checking Forge version information."
case $FORGEVERSION in
case $FORGE_VERSION in
RECOMMENDED)
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\"]")
@ -147,9 +147,7 @@ function installForge {
fi
;;
*)
FORGE_VERSION=$FORGEVERSION
;;
*) ;;
esac
normForgeVersion=$VANILLA_VERSION-$FORGE_VERSION-$norm