Update entrypoint.sh

This commit is contained in:
Alexandre
2021-11-11 22:55:51 +01:00
committed by GitHub
parent d3d1947c4e
commit a427474ca2

View File

@@ -7,7 +7,7 @@ for SCRIPTS in *; 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 || true
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' $SCRIPTS || true
./$SCRIPTS &&
true || true # Prevents script crash on failure
done