From beab7ad461d5cd9234a431d50b613941fdd61c47 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 30 Jul 2025 14:20:05 +0200 Subject: [PATCH] Update Dockerfile --- omni-tools/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/omni-tools/Dockerfile b/omni-tools/Dockerfile index 2725da18c..6ba835e0a 100644 --- a/omni-tools/Dockerfile +++ b/omni-tools/Dockerfile @@ -33,7 +33,8 @@ ARG CONFIGLOCATION="/emby" RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh # Save nginx confix -RUN mv /etc/nginx /etc/nginx2 +RUN \ + if [[ -d /etc/nginx2 ]]; then mv /etc/nginx /etc/nginx2; fi ################## # 3 Install apps # @@ -67,7 +68,7 @@ RUN chmod 744 /ha_autoapps.sh && /ha_autoapps.sh "$PACKAGES" && rm /ha_autoapps. # Restore nginx configuration RUN \ if [[ -d /etc/nginx ]]; then rm -r /etc/nginx; fi \ - && mv /etc/nginx2 /etc/nginx + if [[ -d /etc/nginx2 ]]; then mv /etc/nginx2 /etc/nginx; fi # Add entrypoint ENV S6_STAGE2_HOOK=/ha_entrypoint.sh