I have a package that installs an application and a plist for launch daemon. The installation works just fine, but the preflight/postflight scripts won't run. The script are named preflight and postflight, executable bit is set, just don't know what I missed. I am using PackageMaker 3.0.4 under OS X 10.6. The postflight script is as below:
#!/bin/sh
/bin/launchctl load /Library/LaunchDaemons/com.mycompany.myapp.plist
exit 0
Thanks for any help.
#!/bin/sh
/bin/launchctl load /Library/LaunchDaemons/com.mycompany.myapp.plist
exit 0
Thanks for any help.