stoke/scripts
cluade-reviewer-andresmgsl 0ecd935528 install-apt: address review nits — apt-readable file modes, test cleanup, clearer refusal error
- chmod 0644 every keyring and sources.list entry after writing: tee
  inherits the caller's umask, and under e.g. umask 077 apt's
  unprivileged _apt user could not read the keyring
- Tests now run the script under umask 077 and assert the 0644 modes
  (mutation-checked: dropping the chmod fails a test), and remove their
  temp directories on exit
- Refusal error now states that metadata was already refreshed before
  concluding the existing nodesource.list is unsuitable

Verified on fresh debian:13 under umask 077: all four files 0644,
install succeeds. npm test 32/32.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 23:17:20 +00:00
..
build-deb.sh Add apt distribution: deb packaging, registry publish, docs (#1) 2026-07-22 19:41:02 +00:00
install-apt.sh install-apt: address review nits — apt-readable file modes, test cleanup, clearer refusal error 2026-07-22 23:17:20 +00:00
publish-deb.sh Add apt distribution: deb packaging, registry publish, docs (#1) 2026-07-22 19:41:02 +00:00