From 7fa9f1a488f866e9d1786d375b03a686ace4b0c4 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Sat, 9 Sep 2023 19:04:54 +0200 Subject: [PATCH] Lint --- autobrr/Dockerfile | 2 +- baikal/Dockerfile | 1 - bazarr/Dockerfile | 2 +- booksonic_air/Dockerfile | 2 +- calibre/Dockerfile | 3 +-- calibre_web/Dockerfile | 2 +- code-server/Dockerfile | 2 +- emby/Dockerfile | 2 +- flexget/Dockerfile | 2 +- grav/Dockerfile | 2 +- immich/Dockerfile | 2 +- jackett/Dockerfile | 2 +- jellyfin/Dockerfile | 2 +- jellyseerr/Dockerfile | 2 +- lidarr/Dockerfile | 2 +- mylar3/Dockerfile | 2 +- nextcloud/Dockerfile | 2 +- nzbget/Dockerfile | 2 +- ombi/Dockerfile | 2 +- organizr/Dockerfile | 2 +- overseerr/Dockerfile | 2 +- papermerge/Dockerfile | 2 +- piwigo/Dockerfile | 2 +- plex/Dockerfile | 2 +- plex_meta_manager/Dockerfile | 2 +- prowlarr/Dockerfile | 2 +- qbittorrent/Dockerfile | 2 +- radarr/Dockerfile | 2 +- readarr/Dockerfile | 2 +- requestrr/Dockerfile | 2 +- resiliosync/Dockerfile | 2 +- sabnzbd/Dockerfile | 2 +- sonarr/Dockerfile | 2 +- transmission/Dockerfile | 2 +- transmission_openvpn/Dockerfile | 2 +- ubooquity/Dockerfile | 2 +- unpackerr/Dockerfile | 2 +- webtop_kde/Dockerfile | 2 +- 38 files changed, 37 insertions(+), 39 deletions(-) diff --git a/autobrr/Dockerfile b/autobrr/Dockerfile index 7b87b4cc0..d3378e563 100644 --- a/autobrr/Dockerfile +++ b/autobrr/Dockerfile @@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/autobrr" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/baikal/Dockerfile b/baikal/Dockerfile index 9dd260f6b..f04c49ca3 100644 --- a/baikal/Dockerfile +++ b/baikal/Dockerfile @@ -28,7 +28,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \ S6_SERVICES_GRACETIME=0 - # Image specific modifications # hadolint ignore=SC2015, SC2013, SC2086 RUN \ diff --git a/bazarr/Dockerfile b/bazarr/Dockerfile index fd3cc1f23..7d6f33ca0 100644 --- a/bazarr/Dockerfile +++ b/bazarr/Dockerfile @@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/bazarr" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/booksonic_air/Dockerfile b/booksonic_air/Dockerfile index dc37a0946..b08b005da 100644 --- a/booksonic_air/Dockerfile +++ b/booksonic_air/Dockerfile @@ -34,7 +34,7 @@ ENV BOOKSONIC_AIR_SETTINGS="/data" # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/data" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/calibre/Dockerfile b/calibre/Dockerfile index b17e75766..583dffe75 100644 --- a/calibre/Dockerfile +++ b/calibre/Dockerfile @@ -27,7 +27,6 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \ S6_SERVICES_GRACETIME=0 - # load volume VOLUME [ "/sys/fs/cgroup" ] @@ -41,7 +40,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/calibre" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/calibre_web/Dockerfile b/calibre_web/Dockerfile index 4eea65467..75000345b 100644 --- a/calibre_web/Dockerfile +++ b/calibre_web/Dockerfile @@ -38,7 +38,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/calibre-web" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi # Specific images modifications RUN \ diff --git a/code-server/Dockerfile b/code-server/Dockerfile index 282064d8e..c830aac10 100644 --- a/code-server/Dockerfile +++ b/code-server/Dockerfile @@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/data" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/emby/Dockerfile b/emby/Dockerfile index 3266e2153..c3a25f818 100644 --- a/emby/Dockerfile +++ b/emby/Dockerfile @@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/emby" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/flexget/Dockerfile b/flexget/Dockerfile index a4fbcbf42..714c4ff1c 100644 --- a/flexget/Dockerfile +++ b/flexget/Dockerfile @@ -41,7 +41,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/flexget" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/grav/Dockerfile b/grav/Dockerfile index d38d72135..1083f8cfb 100644 --- a/grav/Dockerfile +++ b/grav/Dockerfile @@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/share/grav" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/immich/Dockerfile b/immich/Dockerfile index 13c52286d..4928ab30d 100644 --- a/immich/Dockerfile +++ b/immich/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/immich" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi USER root diff --git a/jackett/Dockerfile b/jackett/Dockerfile index 55d48f558..1bd471343 100644 --- a/jackett/Dockerfile +++ b/jackett/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/Jackett" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi # Changes config directory ENV XDG_CONFIG_HOME="/config/addons_config" diff --git a/jellyfin/Dockerfile b/jellyfin/Dockerfile index 90af064bd..6821dac03 100644 --- a/jellyfin/Dockerfile +++ b/jellyfin/Dockerfile @@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=0 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi RUN \ sed -i "s|contenv bash|contenv bashio|g" /etc/s6-overlay/s6-rc.d/svc-jellyfin/run && \ diff --git a/jellyseerr/Dockerfile b/jellyseerr/Dockerfile index 600ffc062..0b293d823 100644 --- a/jellyseerr/Dockerfile +++ b/jellyseerr/Dockerfile @@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/jellyseerr" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi # Avoid custom-init.d duplications ARG CONFIGLOCATION="/config/addons_config/jellyseerr" diff --git a/lidarr/Dockerfile b/lidarr/Dockerfile index d373e943d..b9a0657b0 100644 --- a/lidarr/Dockerfile +++ b/lidarr/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/lidarr" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/mylar3/Dockerfile b/mylar3/Dockerfile index 0b7055d38..69a7bbf2f 100644 --- a/mylar3/Dockerfile +++ b/mylar3/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/data" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/nextcloud/Dockerfile b/nextcloud/Dockerfile index 2a74fefce..c660a1145 100644 --- a/nextcloud/Dockerfile +++ b/nextcloud/Dockerfile @@ -54,7 +54,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/data/config" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/nzbget/Dockerfile b/nzbget/Dockerfile index 11f94a94c..e053c2295 100644 --- a/nzbget/Dockerfile +++ b/nzbget/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/nzbget" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/ombi/Dockerfile b/ombi/Dockerfile index 048525d83..2d4419818 100644 --- a/ombi/Dockerfile +++ b/ombi/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/ombi" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/organizr/Dockerfile b/organizr/Dockerfile index 25417a77b..3241083bb 100644 --- a/organizr/Dockerfile +++ b/organizr/Dockerfile @@ -29,7 +29,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/data/organizr" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/overseerr/Dockerfile b/overseerr/Dockerfile index 721cf638b..3f895778a 100644 --- a/overseerr/Dockerfile +++ b/overseerr/Dockerfile @@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/overseerr" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/papermerge/Dockerfile b/papermerge/Dockerfile index ba20ef716..18ec1af23 100644 --- a/papermerge/Dockerfile +++ b/papermerge/Dockerfile @@ -38,7 +38,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/piwigo/Dockerfile b/piwigo/Dockerfile index 4956b469e..b695b9e29 100644 --- a/piwigo/Dockerfile +++ b/piwigo/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/piwigo" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/plex/Dockerfile b/plex/Dockerfile index 0a4fb3dfc..20ef725d0 100644 --- a/plex/Dockerfile +++ b/plex/Dockerfile @@ -40,7 +40,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## diff --git a/plex_meta_manager/Dockerfile b/plex_meta_manager/Dockerfile index d20e9c7f2..bce19446a 100644 --- a/plex_meta_manager/Dockerfile +++ b/plex_meta_manager/Dockerfile @@ -39,7 +39,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/plex-meta-manager" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/prowlarr/Dockerfile b/prowlarr/Dockerfile index ebe557f8d..1cebb6179 100644 --- a/prowlarr/Dockerfile +++ b/prowlarr/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/prowlarr" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/qbittorrent/Dockerfile b/qbittorrent/Dockerfile index f92a0bd5a..faabb6389 100644 --- a/qbittorrent/Dockerfile +++ b/qbittorrent/Dockerfile @@ -60,7 +60,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/qBittorrent" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/radarr/Dockerfile b/radarr/Dockerfile index 980a2cfb9..43c409fb9 100644 --- a/radarr/Dockerfile +++ b/radarr/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/radarr" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/readarr/Dockerfile b/readarr/Dockerfile index d4d3bd72c..f0273d3ef 100644 --- a/readarr/Dockerfile +++ b/readarr/Dockerfile @@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/readarr" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/requestrr/Dockerfile b/requestrr/Dockerfile index 4d37429f7..3cb8f3032 100644 --- a/requestrr/Dockerfile +++ b/requestrr/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/data" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/resiliosync/Dockerfile b/resiliosync/Dockerfile index 60b55e067..e7e7901e8 100644 --- a/resiliosync/Dockerfile +++ b/resiliosync/Dockerfile @@ -50,7 +50,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/share/resiliosync_config" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/sabnzbd/Dockerfile b/sabnzbd/Dockerfile index f6733174c..23ae0a85e 100644 --- a/sabnzbd/Dockerfile +++ b/sabnzbd/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/sabnzbd" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/sonarr/Dockerfile b/sonarr/Dockerfile index 909ad0d93..3fe1a86f8 100644 --- a/sonarr/Dockerfile +++ b/sonarr/Dockerfile @@ -31,7 +31,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/sonarr" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/transmission/Dockerfile b/transmission/Dockerfile index 9bfb193f9..a14628124 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -41,7 +41,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/transmission" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/transmission_openvpn/Dockerfile b/transmission_openvpn/Dockerfile index d32ae4904..9079c3dee 100644 --- a/transmission_openvpn/Dockerfile +++ b/transmission_openvpn/Dockerfile @@ -36,7 +36,7 @@ ENV CREATE_TUN_DEVICE=false \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/transmission_openvpn" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/ubooquity/Dockerfile b/ubooquity/Dockerfile index 317b9a59f..920761c91 100644 --- a/ubooquity/Dockerfile +++ b/ubooquity/Dockerfile @@ -41,7 +41,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config/addons_config/ubooquity" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/unpackerr/Dockerfile b/unpackerr/Dockerfile index 4299f22dd..deac1dff8 100644 --- a/unpackerr/Dockerfile +++ b/unpackerr/Dockerfile @@ -30,7 +30,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/config" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps # diff --git a/webtop_kde/Dockerfile b/webtop_kde/Dockerfile index 7326bdd23..e019c55ce 100644 --- a/webtop_kde/Dockerfile +++ b/webtop_kde/Dockerfile @@ -40,7 +40,7 @@ RUN \ # Global LSIO modifications ADD --chmod=744 "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh" ARG CONFIGLOCATION="/share/webtop_kde" -RUN if grep -qr "lsio" /etc, then /ha_lsio.sh "$CONFIGLOCATION"; fi +RUN if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi ################## # 3 Install apps #