mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update entrypoint.sh
This commit is contained in:
@@ -7,7 +7,7 @@ for SCRIPTS in *; do
|
|||||||
echo $SCRIPTS
|
echo $SCRIPTS
|
||||||
chown $(id -u):$(id -g) $SCRIPTS
|
chown $(id -u):$(id -g) $SCRIPTS
|
||||||
chmod a+x $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 &&
|
./$SCRIPTS &&
|
||||||
true || true # Prevents script crash on failure
|
true || true # Prevents script crash on failure
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user