On 2017-7-13 08:10 , Umesh Singla wrote:
3. ensuring that active versions are installed after the inactive
versions since the output after running `port install vim -huge +tiny`:
——
Computing dependencies for vim
..
--->Staging vim into destroot
*--->Installing vim @8.0.0596_0+tiny*
*--->Deactivating vim @8.0.0596_0+tiny+x11*
--->Cleaning vim
*--->Activating vim @8.0.0596_0+tiny*
--->Cleaning vim
--->Updating database of binaries
..
shows that installation also activates and we don’t want to activate the
ports which were originally inactivated.
The install action of port(1) does execute the activate target, however
your code could run only the install target for ports that were not
active. That is what restore_ports.tcl does.
- Josh