mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-27 16:24:17 +00:00
1 parent
7e61b88a29
commit
a47e7c48f0
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
|
|||||||
RUN \
|
RUN \
|
||||||
# CORRECT PLEX CLAIM
|
# CORRECT PLEX CLAIM
|
||||||
file=$(grep -sril 'Server claimed successfully' /etc) \
|
file=$(grep -sril 'Server claimed successfully' /etc) \
|
||||||
&& sed -i 's/bash/bashio/g' $file \
|
&& sed -i 's/with-contenv bash/with-contenv bashio/g' $file \
|
||||||
&& sed -i '2iexport PLEX_CLAIM=$(bashio::config "claim")' $file \
|
&& sed -i '2iexport PLEX_CLAIM=$(bashio::config "claim")' $file \
|
||||||
&& sed -i '3i[ $PLEX_CLAIM = "Get_from_https://www.plex.tv/claim" ] && bashio::log.warning "Please change the PLEX_CLAIM code from the options" && exit 1 || true' $file
|
&& sed -i '3i[ $PLEX_CLAIM = "Get_from_https://www.plex.tv/claim" ] && bashio::log.warning "Please change the PLEX_CLAIM code from the options" && exit 1 || true' $file
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user