Files
sp00nz fd2fcc690b install_deps.sh: detect the distro instead of assuming Debian
The script hardcoded apt and Debian package names, so it was useless on
anything else -- issue #1 came from a CachyOS user who had no way to use it.
Now reads ID/ID_LIKE from /etc/os-release and dispatches to apt, pacman, or
dnf with that distro's spelling of the same dependencies. Unknown distros get
the dependency list to install by hand rather than a failed apt call.

Checking ID_LIKE (not just ID) is what makes the derivatives work: CachyOS,
Manjaro, and Ubuntu all identify as themselves and only name their base there.

test_install_deps.sh covers the detection against real ID/ID_LIKE lines from
each distro, plus an unknown distro and a missing os-release. Also drops the
header's stale claim that this is for "the Burnout 3 static recompilation" --
it is the toolkit's runtime libraries.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 18:12:33 -07:00
..