diff --git a/addons_updater/run.sh b/addons_updater/run.sh index d68ccce22..17ec98ded 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -105,12 +105,12 @@ for addons in $(bashio::config "addon|keys"); do fi #Prepare tag flag - if [ ${HAVINGASSET} = true ]; then - LOGINFO="... $SLUG : asset_only tag is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi - HAVINGASSET="--having-asset" - else + if [ ${HAVINGASSET} = false ]; then LOGINFO="... $SLUG : asset_only is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi HAVINGASSET="" + else + LOGINFO="... $SLUG : asset_only tag is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi + HAVINGASSET="--having-asset" fi #If beta flag, select beta version