Update run.sh

This commit is contained in:
Alexandre
2021-11-15 20:56:24 +01:00
committed by GitHub
parent 165b7af241
commit 098924932a

View File

@@ -91,11 +91,11 @@ for addons in $(bashio::config "addon|keys"); do
#Define the folder addon
LOGINFO="... $SLUG : checking slug exists in repo" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
cd /data/${BASENAME}/${SLUG} || ( bashio::log.error "$SLUG addon not found in this repository. Exiting. Exiting." && continue )
cd /data/${BASENAME}/${SLUG} || bashio::log.error "$SLUG addon not found in this repository. Exiting. Exiting."
#Find current version
LOGINFO="... $SLUG : get current version" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
CURRENT=$(jq .upstream config.json) || ( bashio::log.error "$SLUG addon upstream tag not found in config.json. Exiting." && continue )
CURRENT=$(jq .upstream config.json) || bashio::log.error "$SLUG addon upstream tag not found in config.json. Exiting."
if [ $SOURCE = "dockerhub" ]; then
# Use dockerhub as upstream