Update run

This commit is contained in:
Alexandre
2023-11-24 23:19:57 +01:00
committed by GitHub
parent ec7eb76ea8
commit d53597c3a8

View File

@@ -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