From dd6b38f04522d31ec186a627f15178cfd823f631 Mon Sep 17 00:00:00 2001 From: Alexandre Date: Fri, 19 Nov 2021 13:36:27 +0100 Subject: [PATCH] banner clean --- addons_updater/run.sh | 94 ++++++++++--------- bazarr/root/etc/cont-init.d/00-banner.sh | 20 ++-- .../root/etc/cont-init.d/00-banner.sh | 20 ++-- cloudcommander/rootfs/scripts/00-banner.sh | 20 ++-- code-server/root/etc/cont-init.d/00-banner.sh | 4 +- .../root/etc/cont-init.d/00-banner.sh | 4 +- emby/root/etc/cont-init.d/00-banner.sh | 4 +- .../rootfs/scripts/00-banner.sh | 20 ++-- filebrowser/rootfs/scripts/00-banner.sh | 4 +- freqtrade/rootfs/etc/cont-init.d/00-banner.sh | 4 +- gazpar2mqtt/rootfs/scripts/00-banner.sh | 20 ++-- grav/root/etc/cont-init.d/00-banner.sh | 4 +- inadyn/rootfs/run.sh | 22 ++--- jackett/root/etc/cont-init.d/00-banner.sh | 4 +- jellyfin/root/etc/cont-init.d/00-banner.sh | 4 +- .../root/etc/cont-init.d/00-banner.sh | 4 +- lidarr/root/etc/cont-init.d/00-banner.sh | 4 +- mealie/rootfs/run.txt | 2 +- nextcloud/root/etc/cont-init.d/00-banner.sh | 4 +- organizr/root/etc/cont-init.d/00-banner.sh | 20 ++-- .../rootfs/etc/cont-init.d/00-banner.sh | 4 +- photoprism/rootfs/00-banner.sh | 4 +- piwigo/rootfs/etc/cont-init.d/00-banner.sh | 4 +- plex/root/etc/cont-init.d/00-banner.sh | 4 +- portainer/rootfs/etc/cont-init.d/00-banner.sh | 4 +- prowlarr/root/etc/cont-init.d/00-banner.sh | 4 +- .../rootfs/etc/cont-init.d/00-banner.sh | 4 +- radarr/root/etc/cont-init.d/00-banner.sh | 4 +- readarr/root/etc/cont-init.d/00-banner.sh | 4 +- requestrr/root/etc/cont-init.d/00-banner.sh | 4 +- scrutiny/rootfs/etc/cont-init.d/00-banner.sh | 22 ++--- sonarr/root/etc/cont-init.d/00-banner.sh | 4 +- .../rootfs/etc/cont-init.d/00-banner.sh | 4 +- ubooquity/rootfs/etc/cont-init.d/00-banner.sh | 4 +- webtrees/rootfs/script/00-banner.sh | 20 ++-- zzz_templates/00-banner.sh | 4 +- 36 files changed, 191 insertions(+), 189 deletions(-) diff --git a/addons_updater/run.sh b/addons_updater/run.sh index 945431d5e..3f3e09916 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -6,35 +6,35 @@ if bashio::supervisor.ping; then bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on: $(bashio::addon.name)" bashio::log.blue " $(bashio::addon.description)" bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on version: $(bashio::addon.version)" if bashio::var.true "$(bashio::addon.update_available)"; then bashio::log.magenta ' There is an update available for this add-on!' bashio::log.magenta \ - " Latest add-on version: $(bashio::addon.version_latest)" + " Latest add-on version: $(bashio::addon.version_latest)" bashio::log.magenta ' Please consider upgrading as soon as possible.' else bashio::log.green ' You are running the latest version of this add-on.' fi bashio::log.blue " System: $(bashio::info.operating_system)" \ - " ($(bashio::info.arch) / $(bashio::info.machine))" + " ($(bashio::info.arch) / $(bashio::info.machine))" bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)" bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)" 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 \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' fi ########## @@ -87,7 +87,7 @@ for addons in $(bashio::config "addon|keys"); do cd "/data/$BASENAME" git pull --rebase &>/dev/null || git reset --hard &>/dev/null git pull --rebase &>/dev/null - fi + fi #Define the folder addon LOGINFO="... $SLUG : checking slug exists in repo" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi @@ -97,47 +97,49 @@ for addons in $(bashio::config "addon|keys"); do 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." -if [ $SOURCE = "dockerhub" ]; then -# Use dockerhub as upstream -DOCKERHUB_REPO=$(echo "${UPSTREAM%%/*}") -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" | \ - jq '.results | .[] | .name' -r | \ - sed 's/latest//' | \ - sort -V | \ - tail -n 1) + if [ $SOURCE = "dockerhub" ]; then + # Use dockerhub as upstream + DOCKERHUB_REPO=$(echo "${UPSTREAM%%/*}") + 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" | \ + jq '.results | .[] | .name' -r | \ + sed 's/latest//' | \ + sort -V | \ + tail -n 1 + ) -else -# Use github as upstream - #Prepare tag flag - if [ ${FULLTAG} = true ]; then - LOGINFO="... $SLUG : fulltag is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi - FULLTAG="--format tag" else - LOGINFO="... $SLUG : fulltag is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi - FULLTAG="" + # Use github as upstream + #Prepare tag flag + if [ ${FULLTAG} = true ]; then + LOGINFO="... $SLUG : fulltag is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi + FULLTAG="--format tag" + else + LOGINFO="... $SLUG : fulltag is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi + FULLTAG="" + fi + + #Prepare tag flag + if [ ${HAVINGASSET} = true ]; then + LOGINFO="... $SLUG : asset_only tag is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi + HAVINGASSET="--having-asset" + else + LOGINFO="... $SLUG : asset_only is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi + HAVINGASSET="" + fi + + #If beta flag, select beta version + if [ ${BETA} = true ]; then + LOGINFO="... $SLUG : beta is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi + LASTVERSION=$(lastversion --pre "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) || break + else + LOGINFO="... $SLUG : beta is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi + LASTVERSION=$(lastversion "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) || break + fi + fi - #Prepare tag flag - if [ ${HAVINGASSET} = true ]; then - LOGINFO="... $SLUG : asset_only tag is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi - HAVINGASSET="--having-asset" - else - LOGINFO="... $SLUG : asset_only is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi - HAVINGASSET="" - fi - - #If beta flag, select beta version - if [ ${BETA} = true ]; then - LOGINFO="... $SLUG : beta is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi - LASTVERSION=$(lastversion --pre "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) || break - else - LOGINFO="... $SLUG : beta is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi - LASTVERSION=$(lastversion "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) || break - fi - -fi - # Add brackets LASTVERSION='"'${LASTVERSION}'"' diff --git a/bazarr/root/etc/cont-init.d/00-banner.sh b/bazarr/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..54d7d491a 100644 --- a/bazarr/root/etc/cont-init.d/00-banner.sh +++ b/bazarr/root/etc/cont-init.d/00-banner.sh @@ -1,39 +1,39 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on: $(bashio::addon.name)" bashio::log.blue " $(bashio::addon.description)" bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on version: $(bashio::addon.version)" if bashio::var.true "$(bashio::addon.update_available)"; then bashio::log.magenta ' There is an update available for this add-on!' bashio::log.magenta \ - " Latest add-on version: $(bashio::addon.version_latest)" + " Latest add-on version: $(bashio::addon.version_latest)" bashio::log.magenta ' Please consider upgrading as soon as possible.' else bashio::log.green ' You are running the latest version of this add-on.' fi bashio::log.blue " System: $(bashio::info.operating_system)" \ - " ($(bashio::info.arch) / $(bashio::info.machine))" + " ($(bashio::info.arch) / $(bashio::info.machine))" bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)" bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)" 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 \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ - ' https://github.com/alexbelgium/hassio-addons' + ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' fi diff --git a/booksonic_air/root/etc/cont-init.d/00-banner.sh b/booksonic_air/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..54d7d491a 100644 --- a/booksonic_air/root/etc/cont-init.d/00-banner.sh +++ b/booksonic_air/root/etc/cont-init.d/00-banner.sh @@ -1,39 +1,39 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on: $(bashio::addon.name)" bashio::log.blue " $(bashio::addon.description)" bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on version: $(bashio::addon.version)" if bashio::var.true "$(bashio::addon.update_available)"; then bashio::log.magenta ' There is an update available for this add-on!' bashio::log.magenta \ - " Latest add-on version: $(bashio::addon.version_latest)" + " Latest add-on version: $(bashio::addon.version_latest)" bashio::log.magenta ' Please consider upgrading as soon as possible.' else bashio::log.green ' You are running the latest version of this add-on.' fi bashio::log.blue " System: $(bashio::info.operating_system)" \ - " ($(bashio::info.arch) / $(bashio::info.machine))" + " ($(bashio::info.arch) / $(bashio::info.machine))" bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)" bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)" 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 \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ - ' https://github.com/alexbelgium/hassio-addons' + ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' fi diff --git a/cloudcommander/rootfs/scripts/00-banner.sh b/cloudcommander/rootfs/scripts/00-banner.sh index 52d8a7e60..0ac294e9a 100644 --- a/cloudcommander/rootfs/scripts/00-banner.sh +++ b/cloudcommander/rootfs/scripts/00-banner.sh @@ -1,39 +1,39 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on: $(bashio::addon.name)" bashio::log.blue " $(bashio::addon.description)" bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on version: $(bashio::addon.version)" if bashio::var.true "$(bashio::addon.update_available)"; then bashio::log.magenta ' There is an update available for this add-on!' bashio::log.magenta \ - " Latest add-on version: $(bashio::addon.version_latest)" + " Latest add-on version: $(bashio::addon.version_latest)" bashio::log.magenta ' Please consider upgrading as soon as possible.' else bashio::log.green ' You are running the latest version of this add-on.' fi bashio::log.blue " System: $(bashio::info.operating_system)" \ - " ($(bashio::info.arch) / $(bashio::info.machine))" + " ($(bashio::info.arch) / $(bashio::info.machine))" bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)" bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)" 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 \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ - ' https://github.com/alexbelgium/hassio-addons' + ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' fi diff --git a/code-server/root/etc/cont-init.d/00-banner.sh b/code-server/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/code-server/root/etc/cont-init.d/00-banner.sh +++ b/code-server/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/doublecommander/root/etc/cont-init.d/00-banner.sh b/doublecommander/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/doublecommander/root/etc/cont-init.d/00-banner.sh +++ b/doublecommander/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/emby/root/etc/cont-init.d/00-banner.sh b/emby/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/emby/root/etc/cont-init.d/00-banner.sh +++ b/emby/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/enedisgateway2mqtt/rootfs/scripts/00-banner.sh b/enedisgateway2mqtt/rootfs/scripts/00-banner.sh index 52d8a7e60..0ac294e9a 100644 --- a/enedisgateway2mqtt/rootfs/scripts/00-banner.sh +++ b/enedisgateway2mqtt/rootfs/scripts/00-banner.sh @@ -1,39 +1,39 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on: $(bashio::addon.name)" bashio::log.blue " $(bashio::addon.description)" bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on version: $(bashio::addon.version)" if bashio::var.true "$(bashio::addon.update_available)"; then bashio::log.magenta ' There is an update available for this add-on!' bashio::log.magenta \ - " Latest add-on version: $(bashio::addon.version_latest)" + " Latest add-on version: $(bashio::addon.version_latest)" bashio::log.magenta ' Please consider upgrading as soon as possible.' else bashio::log.green ' You are running the latest version of this add-on.' fi bashio::log.blue " System: $(bashio::info.operating_system)" \ - " ($(bashio::info.arch) / $(bashio::info.machine))" + " ($(bashio::info.arch) / $(bashio::info.machine))" bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)" bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)" 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 \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ - ' https://github.com/alexbelgium/hassio-addons' + ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' fi diff --git a/filebrowser/rootfs/scripts/00-banner.sh b/filebrowser/rootfs/scripts/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/filebrowser/rootfs/scripts/00-banner.sh +++ b/filebrowser/rootfs/scripts/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/freqtrade/rootfs/etc/cont-init.d/00-banner.sh b/freqtrade/rootfs/etc/cont-init.d/00-banner.sh index e31d1c507..31de08e93 100644 --- a/freqtrade/rootfs/etc/cont-init.d/00-banner.sh +++ b/freqtrade/rootfs/etc/cont-init.d/00-banner.sh @@ -3,9 +3,9 @@ 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 # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -34,7 +34,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/gazpar2mqtt/rootfs/scripts/00-banner.sh b/gazpar2mqtt/rootfs/scripts/00-banner.sh index 52d8a7e60..0ac294e9a 100644 --- a/gazpar2mqtt/rootfs/scripts/00-banner.sh +++ b/gazpar2mqtt/rootfs/scripts/00-banner.sh @@ -1,39 +1,39 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on: $(bashio::addon.name)" bashio::log.blue " $(bashio::addon.description)" bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on version: $(bashio::addon.version)" if bashio::var.true "$(bashio::addon.update_available)"; then bashio::log.magenta ' There is an update available for this add-on!' bashio::log.magenta \ - " Latest add-on version: $(bashio::addon.version_latest)" + " Latest add-on version: $(bashio::addon.version_latest)" bashio::log.magenta ' Please consider upgrading as soon as possible.' else bashio::log.green ' You are running the latest version of this add-on.' fi bashio::log.blue " System: $(bashio::info.operating_system)" \ - " ($(bashio::info.arch) / $(bashio::info.machine))" + " ($(bashio::info.arch) / $(bashio::info.machine))" bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)" bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)" 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 \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ - ' https://github.com/alexbelgium/hassio-addons' + ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' fi diff --git a/grav/root/etc/cont-init.d/00-banner.sh b/grav/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/grav/root/etc/cont-init.d/00-banner.sh +++ b/grav/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/inadyn/rootfs/run.sh b/inadyn/rootfs/run.sh index ed9ec2559..6b13b4d49 100644 --- a/inadyn/rootfs/run.sh +++ b/inadyn/rootfs/run.sh @@ -1,48 +1,48 @@ #!/usr/bin/env bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on: $(bashio::addon.name)" bashio::log.blue " $(bashio::addon.description)" bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on version: $(bashio::addon.version)" if bashio::var.true "$(bashio::addon.update_available)"; then bashio::log.magenta ' There is an update available for this add-on!' bashio::log.magenta \ - " Latest add-on version: $(bashio::addon.version_latest)" + " Latest add-on version: $(bashio::addon.version_latest)" bashio::log.magenta ' Please consider upgrading as soon as possible.' else bashio::log.green ' You are running the latest version of this add-on.' fi bashio::log.blue " System: $(bashio::info.operating_system)" \ - " ($(bashio::info.arch) / $(bashio::info.machine))" + " ($(bashio::info.arch) / $(bashio::info.machine))" bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)" bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)" 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 \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ - ' https://github.com/alexbelgium/hassio-addons' + ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' fi ################# # 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 # diff --git a/jackett/root/etc/cont-init.d/00-banner.sh b/jackett/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/jackett/root/etc/cont-init.d/00-banner.sh +++ b/jackett/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/jellyfin/root/etc/cont-init.d/00-banner.sh b/jellyfin/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/jellyfin/root/etc/cont-init.d/00-banner.sh +++ b/jellyfin/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/jellyfin_test/root/etc/cont-init.d/00-banner.sh b/jellyfin_test/root/etc/cont-init.d/00-banner.sh index fc4a5383a..f0c4ef9dd 100644 --- a/jellyfin_test/root/etc/cont-init.d/00-banner.sh +++ b/jellyfin_test/root/etc/cont-init.d/00-banner.sh @@ -1,9 +1,9 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -32,7 +32,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/lidarr/root/etc/cont-init.d/00-banner.sh b/lidarr/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/lidarr/root/etc/cont-init.d/00-banner.sh +++ b/lidarr/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/mealie/rootfs/run.txt b/mealie/rootfs/run.txt index 5a3a614bc..96781b5ec 100644 --- a/mealie/rootfs/run.txt +++ b/mealie/rootfs/run.txt @@ -32,7 +32,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/nextcloud/root/etc/cont-init.d/00-banner.sh b/nextcloud/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/nextcloud/root/etc/cont-init.d/00-banner.sh +++ b/nextcloud/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/organizr/root/etc/cont-init.d/00-banner.sh b/organizr/root/etc/cont-init.d/00-banner.sh index 52d8a7e60..0ac294e9a 100644 --- a/organizr/root/etc/cont-init.d/00-banner.sh +++ b/organizr/root/etc/cont-init.d/00-banner.sh @@ -1,39 +1,39 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on: $(bashio::addon.name)" bashio::log.blue " $(bashio::addon.description)" bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on version: $(bashio::addon.version)" if bashio::var.true "$(bashio::addon.update_available)"; then bashio::log.magenta ' There is an update available for this add-on!' bashio::log.magenta \ - " Latest add-on version: $(bashio::addon.version_latest)" + " Latest add-on version: $(bashio::addon.version_latest)" bashio::log.magenta ' Please consider upgrading as soon as possible.' else bashio::log.green ' You are running the latest version of this add-on.' fi bashio::log.blue " System: $(bashio::info.operating_system)" \ - " ($(bashio::info.arch) / $(bashio::info.machine))" + " ($(bashio::info.arch) / $(bashio::info.machine))" bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)" bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)" 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 \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ - ' https://github.com/alexbelgium/hassio-addons' + ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' fi diff --git a/papermerge/rootfs/etc/cont-init.d/00-banner.sh b/papermerge/rootfs/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/papermerge/rootfs/etc/cont-init.d/00-banner.sh +++ b/papermerge/rootfs/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/photoprism/rootfs/00-banner.sh b/photoprism/rootfs/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/photoprism/rootfs/00-banner.sh +++ b/photoprism/rootfs/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/piwigo/rootfs/etc/cont-init.d/00-banner.sh b/piwigo/rootfs/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/piwigo/rootfs/etc/cont-init.d/00-banner.sh +++ b/piwigo/rootfs/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/plex/root/etc/cont-init.d/00-banner.sh b/plex/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/plex/root/etc/cont-init.d/00-banner.sh +++ b/plex/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/portainer/rootfs/etc/cont-init.d/00-banner.sh b/portainer/rootfs/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/portainer/rootfs/etc/cont-init.d/00-banner.sh +++ b/portainer/rootfs/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/prowlarr/root/etc/cont-init.d/00-banner.sh b/prowlarr/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/prowlarr/root/etc/cont-init.d/00-banner.sh +++ b/prowlarr/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/qbittorrent/rootfs/etc/cont-init.d/00-banner.sh b/qbittorrent/rootfs/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/00-banner.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/radarr/root/etc/cont-init.d/00-banner.sh b/radarr/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/radarr/root/etc/cont-init.d/00-banner.sh +++ b/radarr/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/readarr/root/etc/cont-init.d/00-banner.sh b/readarr/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/readarr/root/etc/cont-init.d/00-banner.sh +++ b/readarr/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/requestrr/root/etc/cont-init.d/00-banner.sh b/requestrr/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/requestrr/root/etc/cont-init.d/00-banner.sh +++ b/requestrr/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/scrutiny/rootfs/etc/cont-init.d/00-banner.sh b/scrutiny/rootfs/etc/cont-init.d/00-banner.sh index 9e613cb3f..0d6085fd1 100644 --- a/scrutiny/rootfs/etc/cont-init.d/00-banner.sh +++ b/scrutiny/rootfs/etc/cont-init.d/00-banner.sh @@ -1,39 +1,39 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on: $(bashio::addon.name)" bashio::log.blue " $(bashio::addon.description)" bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on version: $(bashio::addon.version)" if bashio::var.true "$(bashio::addon.update_available)"; then bashio::log.magenta ' There is an update available for this add-on!' bashio::log.magenta \ - " Latest add-on version: $(bashio::addon.version_latest)" + " Latest add-on version: $(bashio::addon.version_latest)" bashio::log.magenta ' Please consider upgrading as soon as possible.' else bashio::log.green ' You are running the latest version of this add-on.' fi bashio::log.blue " System: $(bashio::info.operating_system)" \ - " ($(bashio::info.arch) / $(bashio::info.machine))" + " ($(bashio::info.arch) / $(bashio::info.machine))" bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)" bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)" 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 \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ - ' http://github.com/alexbelgium/hassio-addons' + ' http://github.com/alexbelgium/hassio-addons' bashio::log.blue \ - '-----------------------------------------------------------' -fi + '-----------------------------------------------------------' +fi diff --git a/sonarr/root/etc/cont-init.d/00-banner.sh b/sonarr/root/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/sonarr/root/etc/cont-init.d/00-banner.sh +++ b/sonarr/root/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/transmission/rootfs/etc/cont-init.d/00-banner.sh b/transmission/rootfs/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/transmission/rootfs/etc/cont-init.d/00-banner.sh +++ b/transmission/rootfs/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/ubooquity/rootfs/etc/cont-init.d/00-banner.sh b/ubooquity/rootfs/etc/cont-init.d/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/ubooquity/rootfs/etc/cont-init.d/00-banner.sh +++ b/ubooquity/rootfs/etc/cont-init.d/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ diff --git a/webtrees/rootfs/script/00-banner.sh b/webtrees/rootfs/script/00-banner.sh index 52d8a7e60..0ac294e9a 100644 --- a/webtrees/rootfs/script/00-banner.sh +++ b/webtrees/rootfs/script/00-banner.sh @@ -1,39 +1,39 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on: $(bashio::addon.name)" bashio::log.blue " $(bashio::addon.description)" bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' bashio::log.blue " Add-on version: $(bashio::addon.version)" if bashio::var.true "$(bashio::addon.update_available)"; then bashio::log.magenta ' There is an update available for this add-on!' bashio::log.magenta \ - " Latest add-on version: $(bashio::addon.version_latest)" + " Latest add-on version: $(bashio::addon.version_latest)" bashio::log.magenta ' Please consider upgrading as soon as possible.' else bashio::log.green ' You are running the latest version of this add-on.' fi bashio::log.blue " System: $(bashio::info.operating_system)" \ - " ($(bashio::info.arch) / $(bashio::info.machine))" + " ($(bashio::info.arch) / $(bashio::info.machine))" bashio::log.blue " Home Assistant Core: $(bashio::info.homeassistant)" bashio::log.blue " Home Assistant Supervisor: $(bashio::info.supervisor)" 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 \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ - ' https://github.com/alexbelgium/hassio-addons' + ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \ - '-----------------------------------------------------------' + '-----------------------------------------------------------' fi diff --git a/zzz_templates/00-banner.sh b/zzz_templates/00-banner.sh index 71b1a4e4e..0ac294e9a 100644 --- a/zzz_templates/00-banner.sh +++ b/zzz_templates/00-banner.sh @@ -1,8 +1,8 @@ #!/usr/bin/with-contenv bashio # ============================================================================== -# Home Assistant Community Add-on: Base Images # Displays a simple add-on banner on startup # ============================================================================== + if bashio::supervisor.ping; then bashio::log.blue \ '-----------------------------------------------------------' @@ -31,7 +31,7 @@ if bashio::supervisor.ping; then bashio::log.blue \ ' Please, share the above information when looking for help' bashio::log.blue \ - ' or support in, e.g., GitHub, forums or the Discord chat.' + ' or support in, e.g., GitHub, forums' bashio::log.green \ ' https://github.com/alexbelgium/hassio-addons' bashio::log.blue \