Update 99-run.sh

This commit is contained in:
Alexandre
2024-01-12 22:29:47 +01:00
committed by GitHub
parent fe59ef3a12
commit 9cb9d0aed2

View File

@@ -201,6 +201,9 @@ for f in */; do
# If failure, checks if there is packages that could be used
function test_packages () {
if [ "$VERBOSE" = true ]; then
bashio::log.info "source : $SOURCE and LASTVERSION : $(lastversion "$UPSTREAM" $ARGUMENTS 2>&1 || true)"
fi
if [[ "$SOURCE" == "github" ]] && [[ "$(lastversion "$UPSTREAM" $ARGUMENTS 2>&1 || true)" == *"No release found"* ]]; then
# Is there a package
echo "No version found, looking if packages available"