fix: shellcheck in the bundle, and the docs for the BIOS checks

- Rename a variable in lib/bios.sh that clashed with lib/state.sh's array in the bundle.
- README, AGENTS.md and CHANGELOG.md for the greyed-out item, the device check and the aligned warning box.
This commit is contained in:
theupriser committed 2026-09-24 10:30:24 +02:00
1 parent fe20a7d871
commit 68981821a3
4 files changed
+30 -8

No files matched your search

+3 -3
View File
@@ -143,12 +143,12 @@ bios_enable() {
fi
ok "fwupd confirms BIOS $BIOS_NEWEST is firmware for this machine."
local g="$c_green$c_bold" b="$c_bold" n="$c_reset"
local yes="$c_green$c_bold" b="$c_bold" n="$c_reset"
bios_disclaimer "WARNING: BIOS UPDATE - ENTIRELY AT YOUR OWN RISK" \
"Current BIOS: ${b}$current${n}" \
"New BIOS: ${b}$BIOS_NEWEST${n}" \
"Checksum: ${g}OK${n} (Valve's package)" \
"Compatible: ${g}yes${n} (checked by fwupd)"
"Checksum: ${yes}OK${n} (Valve's package)" \
"Compatible: ${yes}yes${n} (checked by fwupd)"
if ! ask_yn "Do you understand the risks and want to continue?" n; then
info "BIOS update cancelled; nothing was changed."; rm -rf "$tmp"; return 0
fi