From dd3ea08ea177846074a1bf39647f07df33dd9b2e Mon Sep 17 00:00:00 2001 From: Rezart Qelibari Date: Wed, 6 Apr 2022 19:30:06 +0200 Subject: [PATCH] Activate brew-updater launch daemons immediately --- modules/03-install-brew.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/03-install-brew.sh b/modules/03-install-brew.sh index f3625b1..f07ae17 100755 --- a/modules/03-install-brew.sh +++ b/modules/03-install-brew.sh @@ -214,6 +214,7 @@ function createLaunchDaemonsPlist() { " > "${launcherPath}" chown root:wheel ${launcherPath} chmod u=rw,go=r ${launcherPath} + launchctl bootstrap system ${launcherPath} } function installHomebrewUpdater() { @@ -256,6 +257,7 @@ function getExecPrerequisites() { [grep]='' [sort]='' [awk]='' + [launchctl]='' [sysadminctl]='' ) requireRootPrivileges