fix: auto-fix linting issues

This commit is contained in:
alexbelgium
2025-07-23 08:58:09 +00:00
committed by github-actions[bot]
parent 3539f328fb
commit f5428e0950
224 changed files with 5663 additions and 5662 deletions

View File

@@ -13,8 +13,8 @@ PUID=$(bashio::config 'PUID')
PGID=$(bashio::config 'PGID')
if [ ! -d "$(dirname "${CONFIGSOURCE}")" ]; then
echo "Creating $(dirname "${CONFIGSOURCE}")"
mkdir -p "$(dirname "${CONFIGSOURCE}")"
echo "Creating $(dirname "${CONFIGSOURCE}")"
mkdir -p "$(dirname "${CONFIGSOURCE}")"
fi
chown -R "$PUID":"$PGID" "$(dirname "${CONFIGSOURCE}")"
@@ -25,8 +25,8 @@ chown -R "$PUID":"$PGID" "$(dirname "${CONFIGSOURCE}")"
# Check if config file is there, or create one from template
if [ -f "$CONFIGSOURCE" ]; then
bashio::log.info "Using config file found in $CONFIGSOURCE"
bashio::log.info "Using config file found in $CONFIGSOURCE"
else
cp /templates/config.yml "$(dirname "${CONFIGSOURCE}")"
bashio::log.warning "No config file, creating one from template. Please correct the config.yml file before restarting the addon !"
cp /templates/config.yml "$(dirname "${CONFIGSOURCE}")"
bashio::log.warning "No config file, creating one from template. Please correct the config.yml file before restarting the addon !"
fi