Avoid lsiown error

This commit is contained in:
Alexandre
2022-11-14 16:56:49 +01:00
parent 70194281d0
commit 01a2fc94d9
32 changed files with 32 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ RUN \
\
# Docker mods addition
&& if [ -f /docker-mods ]; then sed -i 's|bash|bashio|g' /docker-mods && sed -i "1a if bashio::config.has_value \"DOCKER_MODS\"; then DOCKER_MODS=\$(bashio::config \"DOCKER_MODS\"); fi" /docker-mods; fi \
\
# Replace lsiown if not found
&& if [ ! -f /usr/bin/lsiown ]; then sed -i "s|lsiown|chown|g" /etc/s6-overlay/s6-rc.d/*/run; fi