mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-22 14:00:32 +02:00
Lint
This commit is contained in:
@@ -51,7 +51,7 @@ sed -i "s|/command/with-contenv bashio|$shebang|g" /ha_entrypoint.sh
|
|||||||
|
|
||||||
# Correct for scripts
|
# Correct for scripts
|
||||||
for string in "/command/with-contenv bashio" "/usr/bin/with-contenv bashio"; do
|
for string in "/command/with-contenv bashio" "/usr/bin/with-contenv bashio"; do
|
||||||
for files in $(grep -sril "$string" /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d); do
|
grep -sril "$string" /etc/cont-init.d /etc/services.d /etc/s6-overlay/s6-rc.d | while read -r files; do
|
||||||
sed -i "s|$string|$shebang|g" "$files"
|
sed -i "s|$string|$shebang|g" "$files"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user