mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-09 01:11:04 +01:00
updates
This commit is contained in:
8
.hadolint.yaml
Normal file
8
.hadolint.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
ignored:
|
||||||
|
- DL3002
|
||||||
|
- DL3006
|
||||||
|
- DL3007
|
||||||
|
- DL3008
|
||||||
|
- DL3009
|
||||||
|
- DL3018
|
||||||
|
- MD041
|
||||||
@@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
for SCRIPTS in "/00-banner.sh" "/92-local_mounts.sh" "/92-smb_mounts.sh"; do
|
for SCRIPTS in "/00-banner.sh" "/92-local_mounts.sh" "/92-smb_mounts.sh"; 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
|
sed -i 's|/usr/bin/with-contenv bashio|/usr/bin/env bashio|g' $SCRIPTS
|
||||||
/.$SCRIPTS &&
|
/.$SCRIPTS &&
|
||||||
true || true # Prevents script crash on failure
|
true || true # Prevents script crash on failure
|
||||||
echo "exit $?"
|
echo "exit $?"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user