mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-16 17:38:17 +01:00
Update run
This commit is contained in:
@@ -19,7 +19,7 @@ if bashio::config.has_value 'CONFIG_LOCATION'; then
|
||||
fi
|
||||
|
||||
# Delete external
|
||||
if ! grep -q "external" "$CONFIG_LOCATION"; then
|
||||
if grep -q "external" "$CONFIG_LOCATION"; then
|
||||
bashio::log.warning "external is set, restarting"
|
||||
sed -i "/external/d" "$CONFIG_LOCATION"
|
||||
bashio::addon.restart
|
||||
|
||||
Reference in New Issue
Block a user