the file doesnt have 99 lines.... ffs

This commit is contained in:
Richard Sperry 2025-04-14 17:33:13 -07:00
parent c7e0e20588
commit a23ef2a7f4
2 changed files with 1 additions and 2 deletions

View file

@ -24,7 +24,7 @@ readonly -a PREVIOUS_DEFAULT_CONFIG_HASHES=(
)
readonly DEFAULT_FILES_PATH="/usr/lib/code-server/defaults"
readonly DEFAULT_CONFIG_PATH="/data/config/addons_config/"
readonly DEFAULT_CONFIG_PATH="/config/addons_config/"
readonly CODE_SERVER_CONFIG="/root/.config/code-server/config.yaml"
# Ensure config path exists
@ -50,7 +50,6 @@ if ! bashio::fs.file_exists $CODE_SERVER_CONFIG; then
cp "$DEFAULT_FILES_PATH/config.yaml" "$CODE_SERVER_CONFIG"
fi
if bashio::config.has_value 'log_level'; then
# shellcheck disable=SC2154
sed -i "/log_level=/c log_level=\"$log_level\"" "$CODE_SERVER_CONFIG"