Skip to content

Commit

Permalink
Update installUpgradeFunctions.sh: allow "number" for valid update_js…
Browse files Browse the repository at this point in the history
…on_file()

"number" isn't a valid WebUI type, but update_json_file() doesn't impact the WebUI.
  • Loading branch information
EricClaeys authored Jun 2, 2024
1 parent d1a2599 commit 641d97d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/installUpgradeFunctions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ function update_json_file() # [-d] field, new value, file, [type]
if [[ -n ${TYPE} ]]; then
# These don't need quotes.
if [[ ${TYPE} == "boolean" || ${TYPE} == "percent" ||
${TYPE} == "integer" || ${TYPE} == "float" ]]; then
${TYPE} == "number" || ${TYPE} == "integer" || ${TYPE} == "float" ]]; then
DOUBLE_QUOTE=""
fi

Expand Down

0 comments on commit 641d97d

Please sign in to comment.