On 2017-1-18 07:46 , Daniel J. Luke wrote:
On Jan 13, 2017, at 8:20 PM, Craig Treleaven <[email protected]> wrote:
As Ryan figured out, you can see the code related to mariadb-server in the
ticket:
https://trac.macports.org/ticket/52144
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
resources?
- Josh