mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-26 02:31:51 +02:00
Update 99-run.sh
This commit is contained in:
@@ -32,7 +32,8 @@ LOGINFO="... parse addons" && if [ "$VERBOSE" = true ]; then bashio::log.info "$
|
|||||||
|
|
||||||
# Go through all folders, add to filters if not existing
|
# Go through all folders, add to filters if not existing
|
||||||
cd /data/hassio-addons || exit
|
cd /data/hassio-addons || exit
|
||||||
for f in $( dirname "$(find -- */updater.json -maxdepth 0 -type d | sort -r )" ); do
|
for f in *; do
|
||||||
|
if [ -f "$f"/updater.json ]; then
|
||||||
cd /
|
cd /
|
||||||
SLUG=$f
|
SLUG=$f
|
||||||
REPOSITORY=$(jq -r .repository /data/"$f"/updater.json)
|
REPOSITORY=$(jq -r .repository /data/"$f"/updater.json)
|
||||||
@@ -177,6 +178,7 @@ for f in $( dirname "$(find -- */updater.json -maxdepth 0 -type d | sort -r )" )
|
|||||||
else
|
else
|
||||||
bashio::log.green "... $SLUG is up-to-date ${CURRENT}"
|
bashio::log.green "... $SLUG is up-to-date ${CURRENT}"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
done || true # Continue even if issue
|
done || true # Continue even if issue
|
||||||
|
|
||||||
bashio::log.info "Addons update completed"
|
bashio::log.info "Addons update completed"
|
||||||
|
|||||||
Reference in New Issue
Block a user