Normalize EULA value to lowercase to match Forge expectations

For #394
This commit is contained in:
Geoff Bourne 2019-10-01 13:54:14 -05:00
parent 5ad745de75
commit d00f9d3609

View File

@ -6,8 +6,8 @@ shopt -s nullglob
export HOME=/data
if [ ! -e /data/eula.txt ]; then
EULA="${EULA^^}"
if [ "$EULA" != "TRUE" ]; then
EULA="${EULA,,}"
if [ "$EULA" != "true" ]; then
echo ""
echo "Please accept the Minecraft EULA at"
echo " https://account.mojang.com/documents/minecraft_eula"