mirror of
https://github.com/hassio-addons/addon-vscode.git
synced 2025-05-03 18:51:23 +00:00
the file doesnt have 99 lines.... ffs
This commit is contained in:
parent
c7e0e20588
commit
a23ef2a7f4
2 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue