Skip to content

Instantly share code, notes, and snippets.

@rickgmac
rickgmac / postinstall-for-Composer-for-DEPNotify.zsh
Created September 10, 2021 06:51 — forked from arekdreyer/postinstall-for-Composer-for-DEPNotify.zsh
Postinstall script for Jamf Composer to install DEPNotify with supporting scripts and a LaunchDaemon
#!/bin/zsh
## postinstall
pathToScript=$0
pathToPackage=$1
targetLocation=$2
targetVolume=$3
# This postinstall script for Composer creates the following
# A LaunchDaemon that starts a separate script to run a Jamf Pro policy command
#!/bin/zsh
## postinstall
pathToScript=$0
pathToPackage=$1
targetLocation=$2
targetVolume=$3
# Optionally replace the value of this variable with the name of your organization.
organizationIdentifier=com.arekdreyer