mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-19 07:11:50 +02:00
Update 99-run.sh
This commit is contained in:
@@ -201,6 +201,9 @@ 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
|
||||||
|
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
|
if [[ "$SOURCE" == "github" ]] && [[ "$(lastversion "$UPSTREAM" $ARGUMENTS 2>&1 || true)" == *"No release found"* ]]; then
|
||||||
# Is there a package
|
# Is there a package
|
||||||
echo "No version found, looking if packages available"
|
echo "No version found, looking if packages available"
|
||||||
|
|||||||
Reference in New Issue
Block a user