Parse user.config in fetch-engine.sh.
This commit is contained in:
parent
715f7dda44
commit
75b834fde6
@ -11,6 +11,11 @@ TEMPLATE_ROOT=$(dirname "${TEMPLATE_LAUNCHER}")
|
||||
# shellcheck source=mod.config
|
||||
. "${TEMPLATE_ROOT}/mod.config"
|
||||
|
||||
if [ -f "${TEMPLATE_ROOT}/user.config" ]; then
|
||||
# shellcheck source=user.config
|
||||
. "${TEMPLATE_ROOT}/user.config"
|
||||
fi
|
||||
|
||||
CURRENT_ENGINE_VERSION=$(cat "${ENGINE_DIRECTORY}/VERSION" 2> /dev/null)
|
||||
|
||||
if [ -f "${ENGINE_DIRECTORY}/VERSION" ] && [ "${CURRENT_ENGINE_VERSION}" = "${ENGINE_VERSION}" ]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user