Deactivating the installed version before trying to install the update
Clemens Lang
cal at macports.org
Mon Jan 20 06:10:49 PST 2014
On Mon, Jan 20, 2014 at 08:04:35AM -0600, Adam Mercer wrote:
> But that would lead to the build failing without manual intervention,
> i.e. manually deactivating the port. I'm trying to automate this so
> users don't notice the problem.
You might be able to use elevateToRoot and dropPrivileges from
portutil.tcl, lines 2874 and 2891. If you do, please make sure this will
work correctly with non-root installations and take care to drop
privileges again if you picked them up.
--
Clemens Lang
More information about the macports-dev
mailing list