testsAndMisc/linux_configuration/scripts/single_use/fixes/lib
Krzysztof kuhy Rudnicki 2527fb37e6 Split three large linux_configuration scripts, defer a fourth
organize_downloads.sh 513 -> 72, setup_kcd2_dice_solver.sh 497 -> 112,
fix_ubuntu_performance.sh 494 -> 150. First 490+ line scripts done; all
three needed two or three seams.

Repeated splitting chained the libs - each sourced the next, because the
tool inserts its source line relative to the file it just wrote.
Flattened so the entry sources all three and no lib sources a sibling.

diagnose_pacman_hook_stall.sh is reverted and stays at 493. Its
transaction runner assigns LAST_ELAPSED that the caller reads and reads
PACMAN_BIN that the caller defines, so linted alone it is SC2034 plus
SC2153. The pre-commit hook lints each lib in isolation and fails, while
shellcheck -x on the entry passes - suppressing that would be papering
over a seam that does not exist.

organize_downloads.sh is the ExecStart of media-organizer.service; the
unit still resolves and the script still parses.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011w2Pj4Ek3ZNMQVYcFHgXDY
2026-08-16 19:06:16 +02:00
..
arch_perf_fixes.sh Split seven more linux_configuration scripts 2026-08-16 18:56:05 +02:00
arch_perf_probes.sh Split five more linux_configuration single_use scripts 2026-08-16 18:51:28 +02:00
arch_perf_report.sh Split five more linux_configuration single_use scripts 2026-08-16 18:51:28 +02:00
thorium_repairs.sh Split three more linux_configuration feature and fix scripts 2026-08-16 18:48:01 +02:00
ubuntu_perf_fixes.sh Split three large linux_configuration scripts, defer a fourth 2026-08-16 19:06:16 +02:00
ubuntu_perf_more.sh Split three large linux_configuration scripts, defer a fourth 2026-08-16 19:06:16 +02:00