mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-19 22:09:14 +02:00
Update 99-run.sh
This commit is contained in:
@@ -70,7 +70,11 @@ if [ -f /data/"$BASENAME"/"$f"/updater.json ]; then
|
|||||||
HAVINGASSET=$(jq -r .github_havingasset updater.json)
|
HAVINGASSET=$(jq -r .github_havingasset updater.json)
|
||||||
SOURCE=$(jq -r .source updater.json)
|
SOURCE=$(jq -r .source updater.json)
|
||||||
FILTER_TEXT=$(jq -r .github_tagfilter updater.json)
|
FILTER_TEXT=$(jq -r .github_tagfilter updater.json)
|
||||||
|
PAUSED=$(jq -r .paused updater.json)
|
||||||
DATE="$(date '+%d-%m-%Y')"
|
DATE="$(date '+%d-%m-%Y')"
|
||||||
|
|
||||||
|
#Skip if paused
|
||||||
|
if [[ "$PAUSED" = true ]]; then bashio::log.error "$SLUG addon updates are paused, skipping"; continue; fi
|
||||||
|
|
||||||
#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
|
||||||
|
|||||||
Reference in New Issue
Block a user