refactor: best_effort log for quiet steps, registered temp dirs, one exit handler

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ss5gKj7XG5JPi27XwGBGTs
This commit is contained in:
theupriserandClaude Sonnet 5.5 committed 2026-10-03 12:52:59 +02:00
1 parent bc66eb2416
commit ef514e35af
17 files changed
+100 -42

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ bios_lookup_newest() {
local tmp desc
BIOS_REPO="$(valve_newest_repo "$BIOS_REPO_PREFIX" 10)"
[[ -n "$BIOS_REPO" ]] || return 1
tmp="$(mktemp -d)"
make_tmpdir tmp
if curl -fsL --max-time 30 "$(valve_repo_url "$BIOS_REPO")/$BIOS_REPO.files" -o "$tmp/files" &&
curl -fsL --max-time 30 "$(valve_repo_url "$BIOS_REPO")/$BIOS_REPO.db" -o "$tmp/db"; then
desc="$(tar -tf "$tmp/files" 2>/dev/null | grep -E '^fremont-hw-support-[0-9][^/]*/files$' | head -n 1)"