banner clean

This commit is contained in:
Alexandre
2021-11-19 13:36:27 +01:00
parent 775f50f319
commit dd6b38f045
36 changed files with 191 additions and 189 deletions

View File

@@ -32,7 +32,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
fi fi
@@ -97,18 +97,20 @@ for addons in $(bashio::config "addon|keys"); do
LOGINFO="... $SLUG : get current version" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi LOGINFO="... $SLUG : get current version" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
CURRENT=$(jq .upstream config.json) || bashio::log.error "$SLUG addon upstream tag not found in config.json. Exiting." CURRENT=$(jq .upstream config.json) || bashio::log.error "$SLUG addon upstream tag not found in config.json. Exiting."
if [ $SOURCE = "dockerhub" ]; then if [ $SOURCE = "dockerhub" ]; then
# Use dockerhub as upstream # Use dockerhub as upstream
DOCKERHUB_REPO=$(echo "${UPSTREAM%%/*}") DOCKERHUB_REPO=$(echo "${UPSTREAM%%/*}")
DOCKERHUB_IMAGE=$(echo $UPSTREAM | cut -d "/" -f2) DOCKERHUB_IMAGE=$(echo $UPSTREAM | cut -d "/" -f2)
LASTVERSION=$(curl -L -s --fail "https://hub.docker.com/v2/repositories/${DOCKERHUB_REPO}/${DOCKERHUB_IMAGE}/tags/?page_size=1000" | \ LASTVERSION=$(
curl -L -s --fail "https://hub.docker.com/v2/repositories/${DOCKERHUB_REPO}/${DOCKERHUB_IMAGE}/tags/?page_size=1000" | \
jq '.results | .[] | .name' -r | \ jq '.results | .[] | .name' -r | \
sed 's/latest//' | \ sed 's/latest//' | \
sort -V | \ sort -V | \
tail -n 1) tail -n 1
)
else else
# Use github as upstream # Use github as upstream
#Prepare tag flag #Prepare tag flag
if [ ${FULLTAG} = true ]; then if [ ${FULLTAG} = true ]; then
LOGINFO="... $SLUG : fulltag is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi LOGINFO="... $SLUG : fulltag is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
@@ -136,7 +138,7 @@ else
LASTVERSION=$(lastversion "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) || break LASTVERSION=$(lastversion "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) || break
fi fi
fi fi
# Add brackets # Add brackets
LASTVERSION='"'${LASTVERSION}'"' LASTVERSION='"'${LASTVERSION}'"'

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -3,9 +3,9 @@
bashio::log.warning "Minimal (advised) system requirements: 2GB RAM, 1GB disk space, 2vCPU" bashio::log.warning "Minimal (advised) system requirements: 2GB RAM, 1GB disk space, 2vCPU"
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -34,7 +34,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,9 +1,9 @@
#!/usr/bin/env bashio #!/usr/bin/env bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -32,7 +32,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \
@@ -42,7 +42,7 @@ fi
################# #################
# Create config # # Create config #
################# #################
mustache-cli /data/options.json /templates/inadyn.mustache > /etc/inadyn.conf mustache-cli /data/options.json /templates/inadyn.mustache >/etc/inadyn.conf
############## ##############
# Launch App # # Launch App #

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,9 +1,9 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -32,7 +32,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -32,7 +32,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' http://github.com/alexbelgium/hassio-addons' ' http://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \

View File

@@ -1,8 +1,8 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
# ============================================================================== # ==============================================================================
# Home Assistant Community Add-on: Base Images
# Displays a simple add-on banner on startup # Displays a simple add-on banner on startup
# ============================================================================== # ==============================================================================
if bashio::supervisor.ping; then if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
'-----------------------------------------------------------' '-----------------------------------------------------------'
@@ -31,7 +31,7 @@ if bashio::supervisor.ping; then
bashio::log.blue \ bashio::log.blue \
' Please, share the above information when looking for help' ' Please, share the above information when looking for help'
bashio::log.blue \ bashio::log.blue \
' or support in, e.g., GitHub, forums or the Discord chat.' ' or support in, e.g., GitHub, forums'
bashio::log.green \ bashio::log.green \
' https://github.com/alexbelgium/hassio-addons' ' https://github.com/alexbelgium/hassio-addons'
bashio::log.blue \ bashio::log.blue \