tuning the behaviour of the -u option?

Clemens Lang cal at macports.org
Fri Dec 23 14:58:12 CET 2016


Hi,

On Fri, Dec 23, 2016 at 11:11:57AM +0100, René J.V. Bertin wrote:
> It's probably overkill to support a universal filter that could
> theoretically catch all possible selections of inactive versions to
> prune and not to prune. There is however one useful case that might
> not be so hard: keeping a port's previous version

This becomes simpler with the interactivity code that's currently on
master and scheduled for 2.4. If you run 'port uninstall $port' and you
have multiple versions installed, you'll get a list and a prompt to
select which versions to uninstall.

> or (easier to implement and guarantee) the currently active
> version/variant.

'inactive' never matches active versions, so this is already the case
when you run sudo port uninstall inactive?

-- 
Clemens


More information about the macports-dev mailing list