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).
12 lines
430 B
Plaintext
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
|