Renamed funny variable
This commit is contained in:
parent
23d6907c9c
commit
501f4f9a83
1 changed files with 2 additions and 2 deletions
|
@ -252,8 +252,8 @@ EOF;
|
||||||
apk update
|
apk update
|
||||||
apk add curl openjdk8
|
apk add curl openjdk8
|
||||||
|
|
||||||
FUCK_FORGE_NOT_HAVING_A_GOOD_WAY_TO_GET_VERSIONS=$(curl -sl http://files.minecraftforge.net/maven/net/minecraftforge/forge/ | grep -A1 Latest | grep -o -e '[1]\.[0-9][0-9] - [0-9][0-9]\.[0-9][0-9]\.[0-9]\.[0-9][0-9][0-9][0-9]')
|
GET_VERSIONS=$(curl -sl http://files.minecraftforge.net/maven/net/minecraftforge/forge/ | grep -A1 Latest | grep -o -e '[1]\.[0-9][0-9] - [0-9][0-9]\.[0-9][0-9]\.[0-9]\.[0-9][0-9][0-9][0-9]')
|
||||||
LATEST_VERSION=$(echo $FUCK_FORGE_NOT_HAVING_A_GOOD_WAY_TO_GET_VERSIONS | sed 's/ //g')
|
LATEST_VERSION=$(echo $GET_VERSIONS | sed 's/ //g')
|
||||||
|
|
||||||
cd /mnt/server
|
cd /mnt/server
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue