Activate brew-updater launch daemons immediately
This commit is contained in:
@@ -214,6 +214,7 @@ function createLaunchDaemonsPlist() {
|
|||||||
</plist>" > "${launcherPath}"
|
</plist>" > "${launcherPath}"
|
||||||
chown root:wheel ${launcherPath}
|
chown root:wheel ${launcherPath}
|
||||||
chmod u=rw,go=r ${launcherPath}
|
chmod u=rw,go=r ${launcherPath}
|
||||||
|
launchctl bootstrap system ${launcherPath}
|
||||||
}
|
}
|
||||||
|
|
||||||
function installHomebrewUpdater() {
|
function installHomebrewUpdater() {
|
||||||
@@ -256,6 +257,7 @@ function getExecPrerequisites() {
|
|||||||
[grep]=''
|
[grep]=''
|
||||||
[sort]=''
|
[sort]=''
|
||||||
[awk]=''
|
[awk]=''
|
||||||
|
[launchctl]=''
|
||||||
[sysadminctl]=''
|
[sysadminctl]=''
|
||||||
)
|
)
|
||||||
requireRootPrivileges
|
requireRootPrivileges
|
||||||
|
|||||||
Reference in New Issue
Block a user