There's an example in the doc for adding install scripts to PKG.
The example incorrectly uses the install
option instead of scripts
(install
is the default install location).
This produces installers that fail at the last step. I've been banging my head all day before noticing the typo. Fixing the doc might help some users :)