Update run.sh

This commit is contained in:
Alexandre
2021-11-03 08:53:14 +01:00
committed by GitHub
parent d2aeac4695
commit 8bc7e74e8d

View File

@@ -41,8 +41,6 @@ fi
# UPDATE # # UPDATE #
########## ##########
set -e
bashio::log.info "Starting $(lastversion --version)" bashio::log.info "Starting $(lastversion --version)"
bashio::log.info "Checking status of referenced repositoriess..." bashio::log.info "Checking status of referenced repositoriess..."
@@ -119,10 +117,10 @@ for addons in $(bashio::config "addon|keys"); do
#If beta flag, select beta version #If beta flag, select beta version
if [ ${BETA} = true ]; then if [ ${BETA} = true ]; then
LOGINFO="... $SLUG : beta is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi LOGINFO="... $SLUG : beta is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
LASTVERSION=$(lastversion --pre "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) LASTVERSION=$(lastversion --pre "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) || break
else else
LOGINFO="... $SLUG : beta is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi LOGINFO="... $SLUG : beta is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
LASTVERSION=$(lastversion "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) LASTVERSION=$(lastversion "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) || break
fi fi
# Add brackets # Add brackets