This commit is contained in:
Alexandre
2022-01-17 16:02:57 +01:00
parent ca4b2fa36f
commit 1c2d2e2bae
2 changed files with 10 additions and 2 deletions

8
.hadolint.yaml Normal file
View File

@@ -0,0 +1,8 @@
ignored:
- DL3002
- DL3006
- DL3007
- DL3008
- DL3009
- DL3018
- MD041

View File

@@ -6,11 +6,11 @@
for SCRIPTS in "/00-banner.sh" "/92-local_mounts.sh" "/92-smb_mounts.sh"; do
echo $SCRIPTS
chown $(id -u):$(id -g) $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 || true # Prevents script crash on failure
true || true # Prevents script crash on failure
echo "exit $?"
done