Error: No ports matched the given expression

Joshua Root jmr at macports.org
Thu Feb 25 05:07:18 PST 2010


On 2010-2-25 22:47 , Thomas De Contes wrote:
> hi :-)
> 
> 
> + port -u upgrade outdated
> Error: No ports matched the given expression
> + exit 1
> 
> i would like to keep "|| exit" because sometimes it doesn't success to
> upgrade
> could you make port to not give an error code when there are no ports to
> manage, please ? :-)

Not really. Internally it's no different to specifying something like
port upgrade installed and name:thisportdoesnotexist

Check port outdated first.

- Josh


More information about the macports-users mailing list