Files
dotfiles-public/.tests/mutations/32-brew-prereqs-apt-on-a-mac.mut
T
bcherb2 91a1224a5e fix: a fresh Mac installs Homebrew before the brew stage
core/brew was `-builtin` on Darwin, and builtin runs after install_brew, so a
Mac without Homebrew failed every brew row "brew missing" and needed a second
run. It is a script row on both platforms now. The apt prerequisite line is
guarded to apt platforms, and on macOS `sudo -v` caches the timestamp that
NONINTERACTIVE=1 Homebrew requires. Darwin dispatch-order test via the fake
uname, plus a mutation (G-boot-1).
2026-11-18 02:12:55 -05:00

12 lines
430 B
Plaintext

# what: core/brew runs its apt prerequisites on every platform again
# why: a Mac has no apt; the line warns, and the sudo it needs is never asked for
# kills: darwin: no apt prerequisites on a machine with no apt
# run: unit
<<<OLD
if [ "$PLAT" = apt ]; then
# The installer's own documented prerequisites. git is already
<<<NEW
if true; then
# The installer's own documented prerequisites. git is already
<<<END