apache2 location

Ryan Schmidt ryandesign at macports.org
Sun Mar 1 18:34:46 PST 2009


On Mar 1, 2009, at 20:20, Bradley Giesbrecht wrote:

>>> How about moving collisions instead of over writing?
>>>
>>> /opt/local/var/macports/collisions/[datetime]/opt/local/share/man/ 
>>> [existing-file]
>>
>> In fact, they do get moved. The old files get an extension ".mp_$ 
>> {timestamp}"
>
> I've noticed that. Moving them under a common dir would allow  
> periodic cleanup to come into play without traversing the tree.
> Maybe /opt/local/var/macports/collisions/opt_local_share_man_ 
> [existing-file]_[datetime] would be even better.

I don't think we need to change the current behavior. Traversing the  
tree is not difficult:

find /opt/local -type f -name '*.mp_*'

Append "-delete" to that command if you want to delete the found  
files. You'll probably also need to prepend "sudo" to have permission  
to do so.




More information about the macports-users mailing list