From 1ec916ce831dc67236937615fca5753696849faf Mon Sep 17 00:00:00 2001 From: TheSpad Date: Sat, 25 Feb 2023 23:32:59 +0000 Subject: [PATCH] Move conditional --- docker-mods.v3 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-mods.v3 b/docker-mods.v3 index 4bd372d..373125c 100755 --- a/docker-mods.v3 +++ b/docker-mods.v3 @@ -297,9 +297,8 @@ run_mods() { } run_branding() { - if [[ "${LSIO_FIRST_PARTY}" = "true" ]]; then - # intentional tabs in the heredoc - cat <<-EOF >/etc/s6-overlay/s6-rc.d/init-adduser/run + # intentional tabs in the heredoc + cat <<-EOF >/etc/s6-overlay/s6-rc.d/init-adduser/run #!/usr/bin/with-contenv bash # shellcheck shell=bash @@ -361,7 +360,6 @@ run_branding() { lsiown abc:abc /defaults EOF - fi } # Run alias creation functions @@ -385,7 +383,9 @@ if [[ -n "${DOCKER_MODS+x}" ]]; then run_mods 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_legacy_executable_bits