mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 06:14:14 +00:00
URL format changed for Forge 1.7.10 from 10.13.2.1300
This commit is contained in:
parent
f2e6696368
commit
ed19d745cb
1 changed files with 9 additions and 1 deletions
|
@ -64,7 +64,15 @@ case $TYPE in
|
|||
;;
|
||||
esac
|
||||
|
||||
normForgeVersion="$norm-$FORGE_VERSION"
|
||||
# URL format changed for 1.7.10 from 10.13.2.1300
|
||||
sorted=$((echo $FORGE_VERSION; echo 10.13.2.1300) | sort -V | head -1)
|
||||
if [[ $norm == '1.7.10' && $sorted == '10.13.2.1300' ]]; then
|
||||
# if $FORGEVERSION >= 10.13.2.1300
|
||||
normForgeVersion="$norm-$FORGE_VERSION-$norm"
|
||||
else
|
||||
normForgeVersion="$norm-$FORGE_VERSION"
|
||||
fi
|
||||
|
||||
FORGE_INSTALLER="forge-$normForgeVersion-installer.jar"
|
||||
SERVER="forge-$normForgeVersion-universal.jar"
|
||||
|
||||
|
|
Loading…
Reference in a new issue