Update entrypoint.sh

This commit is contained in:
Alexandre
2021-11-11 22:20:51 +01:00
committed by GitHub
parent 4d4a08b55a
commit 935aa588e9

View File

@@ -25,4 +25,15 @@ if [ ! -f "/usr/bin/bashio" ]; then
echo "Bashio installed"
fi
./run.sh
###########
# SCRIPTS #
###########
for SCRIPTS in "00-banner.sh" "run.sh"; do
echo $SCRIPTS
chown $(id -u):$(id -g) $SCRIPTS
chmod a+x $SCRIPTS
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' $SCRIPTS
/.$SCRIPTS &&
true # Prevents script crash on failure
done