mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 09:58:16 +01:00
update
This commit is contained in:
@@ -83,8 +83,8 @@ while IFS= read -r line; do
|
||||
if [[ $line =~ ^.+[=].+$ ]]; then
|
||||
export $line
|
||||
# Export the variable
|
||||
[ -f /etc/services.d/*/*run* ] && sed -i "1a export $line" /etc/services.d/*/*run*
|
||||
[ -f /scripts/*run* ] && sed -i "1a export $line" /scripts/*run*
|
||||
sed -i "1a export $line" /etc/services.d/*/*run* 2>/dev/null || sed -i "1a export $line" /scripts/*run*
|
||||
|
||||
# Show in log
|
||||
bashio::log.blue "$line"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user