mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-24 21:46:29 +01:00
15 lines
313 B
Bash
15 lines
313 B
Bash
#!/bin/bash
|
|
|
|
###########
|
|
# SCRIPTS #
|
|
###########
|
|
|
|
for SCRIPTS in "/00-.sh" "/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
|