Assume launchd services are correct
This commit is contained in:
committed by
T. R. Bernstein
parent
c4799def16
commit
dee91ee451
@@ -125,8 +125,9 @@ function createBrewCallerScript() {
|
|||||||
|
|
||||||
function installHomebrewCore() {
|
function installHomebrewCore() {
|
||||||
export NONINTERACTIVE=1
|
export NONINTERACTIVE=1
|
||||||
|
[ ! -d $(getHomebrewRepositoryPath) ] || return
|
||||||
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
|
[ -d $(getHomebrewRepositoryPath) ]
|
||||||
}
|
}
|
||||||
|
|
||||||
function createLaunchDaemonsPlist() {
|
function createLaunchDaemonsPlist() {
|
||||||
@@ -167,6 +168,7 @@ function createLaunchDaemonsPlist() {
|
|||||||
function installHomebrewUpdater() {
|
function installHomebrewUpdater() {
|
||||||
createLaunchDaemonsPlist brew-updater update
|
createLaunchDaemonsPlist brew-updater update
|
||||||
createLaunchDaemonsPlist brew-upgrader upgrade
|
createLaunchDaemonsPlist brew-upgrader upgrade
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
function tapHomebrewCask() {
|
function tapHomebrewCask() {
|
||||||
|
|||||||
Reference in New Issue
Block a user