I am using Composer and building a PKG.
The file system is /private/var/Mycompany/Apps/SweetApp.pkg
Then in my POSTINSTALL Script I have.
installer -pkg "$pathToPackage/SweetApp.pkg" -target /
But nothing installs. Do I need Sudo? Do I have to path out /usr/sbin/installer?