Checking if a given port is installed in pre-fetch

Rainer Müller raimue at macports.org
Mon Mar 3 13:06:35 PST 2008


Daniel J. Luke wrote:
> There's not a built-in way to do this (but it might be a nice base/  
> feature), and I don't know of a really good way of doing it (you could  
> probably check for an installed binary in a pre-fetch action and  
> output an appropriate ui_error message).

Which would issue a warning in tracemode or make it fail at all.

Rainer




More information about the macports-dev mailing list