File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 215215# Create outputs folder
216216/bin/mkdir -p " $TOOLSDIR /outputs"
217217
218- # Create the json file for munki-pkg
219- /bin/cat << JSONFILE > "$TOOLSDIR /$TYPE /build-info.json"
220- {
221- "ownership": "recommended",
222- "suppress_bundle_relocation": true,
223- "identifier": "org.macadmins.python.$TYPE ",
224- "postinstall_action": "none",
225- "distribution_style": true,
226- "version": "$AUTOMATED_PYTHON_BUILD ",
227- "name": "python_$TYPE -$AUTOMATED_PYTHON_BUILD .pkg",
228- "install_location": "/"
229- }
230- JSONFILE
231- # Create the unsigned pkg
232- " ${MP_BINDIR} /munki-pkg-${MP_SHA} /munkipkg" " $TOOLSDIR /$TYPE "
233- # Move the unsigned pkg
234- /bin/mv " $TOOLSDIR /$TYPE /build/python_$TYPE -$AUTOMATED_PYTHON_BUILD .pkg" " $OUTPUTSDIR "
235-
236218if [ -n " $2 " ]; then
237219 # Create the json file for munki-pkg (signed)
238220 /bin/cat << SIGNED_JSONFILE > "$TOOLSDIR /$TYPE /build-info.json"
You can’t perform that action at this time.
0 commit comments