Actually skip mod application on manifest error

This commit is contained in:
TheSpad
2023-02-22 18:29:21 +00:00
parent 6729a2a99a
commit 99b1153d46
+1
View File
@@ -257,6 +257,7 @@ run_mods() {
SHALAYER=$(get_blob_sha "${MODE}" "${TOKEN}" "${MANIFEST_URL}")
if [[ -z "${SHALAYER}" ]]; then
echo "[mod-init] ${DOCKER_MOD} could not be found on ${MODE}"
continue
fi
# Check if we have allready applied this layer
if [[ -f "/${FILENAME}" ]] && [[ "${SHALAYER}" == "$(cat /"${FILENAME}")" ]]; then