mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 18:03:01 -04:00
Move conditional
This commit is contained in:
+5
-5
@@ -297,9 +297,8 @@ run_mods() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
run_branding() {
|
run_branding() {
|
||||||
if [[ "${LSIO_FIRST_PARTY}" = "true" ]]; then
|
# intentional tabs in the heredoc
|
||||||
# intentional tabs in the heredoc
|
cat <<-EOF >/etc/s6-overlay/s6-rc.d/init-adduser/run
|
||||||
cat <<-EOF >/etc/s6-overlay/s6-rc.d/init-adduser/run
|
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
|
|
||||||
@@ -361,7 +360,6 @@ run_branding() {
|
|||||||
lsiown abc:abc /defaults
|
lsiown abc:abc /defaults
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Run alias creation functions
|
# Run alias creation functions
|
||||||
@@ -385,7 +383,9 @@ if [[ -n "${DOCKER_MODS+x}" ]]; then
|
|||||||
run_mods
|
run_mods
|
||||||
fi
|
fi
|
||||||
|
|
||||||
run_branding
|
if [[ "${LSIO_FIRST_PARTY}" = "true" ]]; then
|
||||||
|
run_branding
|
||||||
|
fi
|
||||||
|
|
||||||
# Set executable bit on legacy cont-init and services built into the image and anything legacy unpacked by mods
|
# Set executable bit on legacy cont-init and services built into the image and anything legacy unpacked by mods
|
||||||
set_legacy_executable_bits
|
set_legacy_executable_bits
|
||||||
|
|||||||
Reference in New Issue
Block a user