replace previous texts

This commit is contained in:
Alexandre
2025-07-31 14:39:21 +02:00
committed by GitHub
parent e93e0dfa54
commit 8f1ea1c938
2 changed files with 2 additions and 6 deletions

View File

@@ -11,8 +11,6 @@ if [ ! -d /config ] || ! bashio::supervisor.ping 2> /dev/null; then
exit 0
fi
bashio::log.notice "This script is used to run custom commands at start of the addon. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon"
# Define slug
slug="${HOSTNAME/-/_}"
slug="${slug#*_}"
@@ -93,7 +91,7 @@ else
bashio::log.green "If accessing the file with filebrowser it should be mapped to $CONFIGSOURCE"
fi
bashio::log.green "---------------------------------------------------------"
bashio::log.green "Wiki here on how to use: https://github.com/alexbelgium/hassio-addons/wiki/Addons-feature:-add-env-variables"
bashio::log.notice "This script is used to run custom commands at start of the addon. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-your-Addon"
echo ""
# Check if config file is there, or create one from template

View File

@@ -12,8 +12,6 @@ if [ ! -d /config ] || ! bashio::supervisor.ping 2> /dev/null; then
exit 0
fi
bashio::log.notice "This script is used to run custom commands at start of the addon. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Running-custom-scripts-in-Addons"
# Define slug
slug="${HOSTNAME/-/_}"
slug="${slug#*_}"
@@ -33,8 +31,8 @@ fi
mkdir -p "$CONFIGLOCATION" || true
CONFIGSOURCE="$CONFIGLOCATION/$slug.sh"
bashio::log.notice "This script is used to run custom commands at start of the addon. Instructions here : https://github.com/alexbelgium/hassio-addons/wiki/Running-custom-scripts-in-Addons"
bashio::log.green "Execute $CONFIGFILEBROWSER if existing"
bashio::log.green "Wiki here : github.com/alexbelgium/hassio-addons/wiki/Add-ons-feature-:-customisation"
# Download template if no script found and exit
if [ ! -f "$CONFIGSOURCE" ]; then