mpkg/mdmg and scripts
jmr at macports.org
Tue Jan 17 21:41:38 UTC 2017
On 2017-1-18 07:46 , Daniel J. Luke wrote:
> On Jan 13, 2017, at 8:20 PM, Craig Treleaven <ctreleaven at macports.org> wrote:
>> As Ryan figured out, you can see the code related to mariadb-server in the ticket:
> initial thoughts:
> - a quick hack would be to update the postinstall script so it doesn't matter if you try to run it more than once
That should be done anyway. It's perfectly normal for the installer to
be run more than once after all (updates, reinstalls).
> - that postinstall script is confusing (why is it installing or chmod'ing files? why is it doing a launchctl load -w [we generally don't do that per policy]).
> If there is a bug in the way we generate pkg or mpkgs that's causing the script to run too many times, that should be fixed.
Could be the component pkg and the enclosing mpkg picking up the same
More information about the macports-dev