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

@@ -14,16 +14,16 @@ chmod -R 755 "$CONFIG_LOCATION"
#Move files that may be in misspelled directory
if [ -d "$OLD_CONFIG_LOCATION" ]; then
# Directory Exists
if [ -z "$(ls -A "$OLD_CONFIG_LOCATION")" ]; then
# Empty
rmdir "$OLD_CONFIG_LOCATION"
else
# Not Empty
bashio::log.info "Moving old configuration settings from $OLD_CONFIG_LOCATION to $CONFIG_LOCATION"
cp -rnT "$OLD_CONFIG_LOCATION" "$CONFIG_LOCATION/"
rm -r "$OLD_CONFIG_LOCATION"
fi
# Directory Exists
if [ -z "$(ls -A "$OLD_CONFIG_LOCATION")" ]; then
# Empty
rmdir "$OLD_CONFIG_LOCATION"
else
# Not Empty
bashio::log.info "Moving old configuration settings from $OLD_CONFIG_LOCATION to $CONFIG_LOCATION"
cp -rnT "$OLD_CONFIG_LOCATION" "$CONFIG_LOCATION/"
rm -r "$OLD_CONFIG_LOCATION"
fi
fi
# Create files