diff --git a/addons_updater/rootfs/etc/cont-init.d/99-run.sh b/addons_updater/rootfs/etc/cont-init.d/99-run.sh index 9c90051b6..5e67db097 100644 --- a/addons_updater/rootfs/etc/cont-init.d/99-run.sh +++ b/addons_updater/rootfs/etc/cont-init.d/99-run.sh @@ -48,7 +48,8 @@ LOGINFO="... parse addons" && if [ "$VERBOSE" = true ]; then bashio::log.info "$ # Go through all folders, add to filters if not existing echo "go in folder" -for f in /data/"$BASENAME"/*; do +cd /data/"$BASENAME" +for f in *; do if [ -f "$f"/updater.json ]; then SLUG=$f