Auto-merging via docker-versions-create

This commit is contained in:
Geoff Bourne
2021-12-04 10:00:34 -06:00
2 changed files with 4 additions and 4 deletions

View File

@@ -133,7 +133,7 @@ By default, the container will download the latest version of the "vanilla" [Min
* [Running on RaspberryPi](#running-on-raspberrypi)
* [Contributing](#contributing)
<!-- Added by: runner, at: Fri Dec 3 01:28:09 UTC 2021 -->
<!-- Added by: runner, at: Fri Dec 3 14:07:51 UTC 2021 -->
<!--te-->
@@ -484,8 +484,6 @@ By default, the "stable" channel is used, but you can set `MAGMA_CHANNEL` to "de
### Running a Mohist server
> **CAUTION** Be sure to [read this article](https://essentialsx.net/do-not-use-mohist.html) to understand the risks associated with using Mohist.
A [Mohist](https://github.com/MohistMC/Mohist) server can be used with
-e TYPE=MOHIST

View File

@@ -113,7 +113,9 @@ function normalizeMemSize() {
function versionLessThan() {
local activeParts
IFS=. read -ra activeParts <<<"${VANILLA_VERSION%%-*}"
version=${VANILLA_VERSION%%-*} # for snapshot/rc versions
version=${version##b} # for versions like b1.7.3
IFS=. read -ra activeParts <<<"${version}"
local givenParts
IFS=. read -ra givenParts <<<"$1"