4 Apr
2007
4 Apr
'07
11:21 a.m.
Le 07-04-04 à 04:30, Randall Wood a écrit :
What's the best way to do this?
I have seen calls in ports doing this in the past like:
pre-install { system "port -f uninstall xxx" }
Which is not really the way to do it. Clearly the best way would be loop the list of versions of the port and uninstall each one using the MacPorts API, but given the state of the docs...
IMHO, this should be avoided as much as possible. But if you got to do it, deactivate should just work. yves