I'm trying to evoke a policy in the post install phase of a payload free package. I created the postinstall script in Composer and entered the line:
#!/bin/sh
## postinstall
jamf policy -event sierra-postinstall
exit 0 ## Success
exit 1 ## Failure
But when I install the package it doesn't run the policy that I have set up with trigger "sierra-postinstall". I can run the policy just fine via terminal.
Is this not possible with Composer? Or am I missing something?