mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 01:46:10 -04:00
Fix typo
This commit is contained in:
+2
-2
@@ -399,7 +399,7 @@ run_mods_local() {
|
|||||||
for DOCKER_MOD in $(echo "${DOCKER_MODS}" | tr '|' '\n'); do
|
for DOCKER_MOD in $(echo "${DOCKER_MODS}" | tr '|' '\n'); do
|
||||||
# Check mod file exists
|
# Check mod file exists
|
||||||
if [[ -f "/mods/${DOCKER_MOD}.tar" ]]; then
|
if [[ -f "/mods/${DOCKER_MOD}.tar" ]]; then
|
||||||
# Caculate mod bits
|
# Calculate mod bits
|
||||||
FILENAME="${DOCKER_MOD}.local"
|
FILENAME="${DOCKER_MOD}.local"
|
||||||
SHALAYER=$(sha256sum "/mods/${DOCKER_MOD}.tar" | cut -d " " -f 1)
|
SHALAYER=$(sha256sum "/mods/${DOCKER_MOD}.tar" | cut -d " " -f 1)
|
||||||
write_mod_debug "Mod checksum is ${SHALAYER}"
|
write_mod_debug "Mod checksum is ${SHALAYER}"
|
||||||
@@ -425,7 +425,7 @@ run_mods_local() {
|
|||||||
write_mod_info "${DOCKER_MOD} applied to container"
|
write_mod_info "${DOCKER_MOD} applied to container"
|
||||||
fi
|
fi
|
||||||
elif [[ -d "/mods/${DOCKER_MOD}" ]]; then
|
elif [[ -d "/mods/${DOCKER_MOD}" ]]; then
|
||||||
# Caculate mod bits
|
# Calculate mod bits
|
||||||
FILENAME="${DOCKER_MOD}.local"
|
FILENAME="${DOCKER_MOD}.local"
|
||||||
SHALAYER=$(tar c "/mods/${DOCKER_MOD}" 2>/dev/null | sha256sum | cut -d " " -f 1)
|
SHALAYER=$(tar c "/mods/${DOCKER_MOD}" 2>/dev/null | sha256sum | cut -d " " -f 1)
|
||||||
write_mod_debug "Mod checksum is ${SHALAYER}"
|
write_mod_debug "Mod checksum is ${SHALAYER}"
|
||||||
|
|||||||
Reference in New Issue
Block a user