Tie brew installation success on folder existence
This commit is contained in:
committed by
T. R. Bernstein
parent
30a447b362
commit
c4799def16
@@ -126,6 +126,7 @@ function createBrewCallerScript() {
|
|||||||
function installHomebrewCore() {
|
function installHomebrewCore() {
|
||||||
export NONINTERACTIVE=1
|
export NONINTERACTIVE=1
|
||||||
sudo --preserve-env=NONINTERACTIVE -u "${homebrew_username}" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
sudo --preserve-env=NONINTERACTIVE -u "${homebrew_username}" /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
function createLaunchDaemonsPlist() {
|
function createLaunchDaemonsPlist() {
|
||||||
|
|||||||
Reference in New Issue
Block a user