mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 17:15:57 +02:00
Update run.sh
This commit is contained in:
@@ -91,11 +91,11 @@ for addons in $(bashio::config "addon|keys"); do
|
|||||||
|
|
||||||
#Define the folder addon
|
#Define the folder addon
|
||||||
LOGINFO="... $SLUG : checking slug exists in repo" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
|
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
|
#Find current version
|
||||||
LOGINFO="... $SLUG : get current version" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
|
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
|
if [ $SOURCE = "dockerhub" ]; then
|
||||||
# Use dockerhub as upstream
|
# Use dockerhub as upstream
|
||||||
|
|||||||
Reference in New Issue
Block a user