nimmis / docker-spigot

A docker container with spigot, builds spigot.jar on first start
175 stars 82 forks source link

Convert $EULA to lowercase #59

Closed iapetos163 closed 4 months ago

iapetos163 commented 2 years ago

As a way to mitigate the user error in #55, this automatically converts the EULA environment variable to lowercase using special bash syntax. Tested this locally and it works as expected.

nimmis commented 4 months ago

the IF statement will not be true if EULA is empty, no code executed inside

Fixed it in another way so it will be true case insensitive to the name