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:
Greg Neagle
2014-10-20 15:50:27 -07:00
parent 22e816010b
commit 53edd6a050
+1 -1
View File
@@ -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