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