mirror of
https://github.com/munki/munki.git
synced 2026-01-01 12:10:24 -06:00
18 lines
546 B
Bash
Executable File
18 lines
546 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#
|
|
# this postinstall should run installhelper in the background, with it then waiting until
|
|
# managedsoftwareupdate isn't running and then (re)load Munki's launchd items as needed
|
|
#
|
|
|
|
# Only execute postinstall actions if we're installing on a live system.
|
|
if [ "$3" = "/" ]
|
|
then
|
|
installHelper='/usr/local/munki/libexec/installhelper'
|
|
if [ -f "${installHelper}" ] ; then
|
|
/bin/echo "Loading ${installHelper}..."
|
|
"${installHelper}" launchd
|
|
else
|
|
/bin/echo "Cannot locate: ${installHelper}..."
|
|
fi
|
|
fi |