mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 12:54:04 +02:00
Update 90-config_yaml.sh
This commit is contained in:
@@ -63,6 +63,7 @@ bashio::log.info "Load environment variables from $CONFIGSOURCE if existing"
|
|||||||
cp "$CONFIGSOURCE" /tempenv
|
cp "$CONFIGSOURCE" /tempenv
|
||||||
sed -i '/^#/d' /tempenv
|
sed -i '/^#/d' /tempenv
|
||||||
sed -i '/^ /d' /tempenv
|
sed -i '/^ /d' /tempenv
|
||||||
|
sed -i '/^$/d' /tempenv
|
||||||
|
|
||||||
# Exit if empty
|
# Exit if empty
|
||||||
if ! -s /tempenv; then
|
if ! -s /tempenv; then
|
||||||
|
|||||||
Reference in New Issue
Block a user