mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 17:15:57 +02:00
Update 99-run.sh
This commit is contained in:
@@ -203,10 +203,10 @@ for f in */; do
|
|||||||
# If failure, checks if there is packages that could be used
|
# If failure, checks if there is packages that could be used
|
||||||
function test_packages () {
|
function test_packages () {
|
||||||
if [ "$VERBOSE" = true ]; then
|
if [ "$VERBOSE" = true ]; then
|
||||||
# shellcheck ignore=SC2086
|
# shellcheck disable=SC2086
|
||||||
bashio::log.info "source : $SOURCE and LASTVERSION : $(lastversion "$UPSTREAM" $ARGUMENTS 2>&1 || true)"
|
bashio::log.info "source : $SOURCE and LASTVERSION : $(lastversion "$UPSTREAM" $ARGUMENTS 2>&1 || true)"
|
||||||
fi
|
fi
|
||||||
# shellcheck ignore=SC2086
|
# shellcheck disable=SC2086
|
||||||
if [[ "$SOURCE" == *"github"* ]] && [[ "$(lastversion "$UPSTREAM" $ARGUMENTS 2>&1 || true)" == *"No release"* ]]; then
|
if [[ "$SOURCE" == *"github"* ]] && [[ "$(lastversion "$UPSTREAM" $ARGUMENTS 2>&1 || true)" == *"No release"* ]]; then
|
||||||
# Is there a package
|
# Is there a package
|
||||||
bashio::log.warning "No version found, looking if packages available"
|
bashio::log.warning "No version found, looking if packages available"
|
||||||
|
|||||||
Reference in New Issue
Block a user