mirror of
https://github.com/munki/munki.git
synced 2026-04-27 16:05:24 -05:00
Adjust munkitools distribution script so that launchd pkg is installed during an OS X install (for example as part of a NetInstall set or inside a createOSXinstallPkg package)
This commit is contained in:
@@ -477,7 +477,7 @@ cat > "$DISTFILE" <<EOF
|
||||
<choice id="app" title="$APPTITLE" description="$APPDESC">
|
||||
<pkg-ref id="$PKGID.app"/>
|
||||
</choice>
|
||||
<choice id="launchd" title="$LAUNCHDTITLE" description="$LAUNCHDDESC" start_selected='system.compareVersions(my.target.receiptForIdentifier("$PKGID.launchd").version, "$LAUNCHDVERSION") != 0'>
|
||||
<choice id="launchd" title="$LAUNCHDTITLE" description="$LAUNCHDDESC" start_selected='system.env.OS_INSTALL == 1 || system.compareVersions(my.target.receiptForIdentifier("$PKGID.launchd").version, "$LAUNCHDVERSION") != 0'>
|
||||
<pkg-ref id="$PKGID.launchd"/>
|
||||
</choice>
|
||||
$CONFCHOICE
|
||||
|
||||
Reference in New Issue
Block a user