From 40577ac56cc3ff0ed115d472957eaa877ef898f8 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 29 Sep 2021 20:10:02 +0200 Subject: [PATCH] Update run.sh --- addons_updater/run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/addons_updater/run.sh b/addons_updater/run.sh index 17ec98ded..d68ccce22 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} = false ]; then - LOGINFO="... $SLUG : asset_only is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi - HAVINGASSET="" - else + if [ ${HAVINGASSET} = true ]; then LOGINFO="... $SLUG : asset_only tag is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi HAVINGASSET="--having-asset" + else + LOGINFO="... $SLUG : asset_only is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi + HAVINGASSET="" fi #If beta flag, select beta version