mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-22 20:46:28 +01: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
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user