order of operations in port upgrade

Joshua Root jmr at macports.org
Wed Oct 5 15:44:18 PDT 2016


On 2016-10-6 09:14 , Brandon Allbery wrote:
> On Wed, Oct 5, 2016 at 5:41 PM, Rainer Müller <raimue at macports.org
> <mailto:raimue at macports.org>> wrote:
>
>     On 2016-10-05 11:09, René J.V. Bertin wrote:
>     > Quick question: a normal (non-forced) upgrade currently does
>     >
>     > 1) install (create new tarball image)
>     > 2) deactivate old
>     > 3) activate new
>     > 4) clean ${workpath} (unless -k)
>
>     Cannot reproduce. The clean target will already be run after step 1) and
>     remove the work directory.
>
>
> 1 is the destroot phase of a "port upgrade", not a separate command

Doesn't matter. Running the install target with mportexec, as upgrade 
does in the non-forced case, will clean the work dir afterwards if 
autoclean is on.

- Josh


More information about the macports-dev mailing list