feat: Normalize boolean option handling (#1784)

This commit is contained in:
Copilot
2026-07-03 15:24:04 +02:00
committed by GitHub
parent 11acdefafb
commit fc8c850b6d
6 changed files with 45 additions and 45 deletions
+2 -2
View File
@@ -1287,7 +1287,7 @@ isMido() {
local lang="$2"
local sum
[[ "${MIDO:-}" == [Nn]* ]] && return 1
disabled "${MIDO:-}" && return 1
sum=$(getMido "$id" "en" "sum")
[ -n "$sum" ] && return 0
@@ -1300,7 +1300,7 @@ isESD() {
local id="$1"
local lang="$2"
[[ "${ESD:-}" == [Nn]* ]] && return 1
disabled "${ESD:-}" && return 1
case "${id,,}" in
"win11${PLATFORM,,}" | "win10${PLATFORM,,}" )