port -u upgrade outdated
Thomas De Contes
d.l.tDeContes at free.fr
Wed Oct 3 17:27:52 PDT 2007
Le 4 oct. 07 à 02:11, Ryan Schmidt a écrit :
> On Oct 3, 2007, at 18:54, Thomas De Contes wrote:
>
>> there is still a minor problem : waste of disk space
>> since each old version remains on the disk, whereas they are
>> completely useless :-/
>>
>> do you see what i mean ?
>> well, is there some guys who work on macports, who would like to
>> look at this problem, to allow us to make a script which
>> automatically updates macports without waste of disk space ?
>
> Then uninstall those old versions if you do not want them anymore.
>
> $ sudo port -f uninstall foo @1.2.3_0
>
> Or, when you do the upgrade, use the -u switch to tell MacPorts you
> would like it to uninstall the old version for you.
>
> $ sudo port -nfu upgrade foo
do you mean that i should put
port -nfu upgrade outdated
in my script ?
--
j'agis contre l'assistanat, je travaille dans une SCOP !
More information about the macports-users
mailing list