[MacPorts] #15937: port deactivate is a bit blood-thirsty (acts like it would delete /)

MacPorts noreply at macports.org
Tue Jul 15 01:44:09 PDT 2008


#15937: port deactivate is a bit blood-thirsty (acts like it would delete /)
---------------------------------+------------------------------------------
  Reporter:  stephen at xemacs.org  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect              |      Status:  new                                  
  Priority:  Normal              |   Milestone:  MacPorts base bugs                   
 Component:  base                |     Version:  1.7.0                                
Resolution:                      |    Keywords:                                       
---------------------------------+------------------------------------------
Changes (by raimue at macports.org):

 * cc: raimue at macports.org (added)

Comment:

 I did not look at the code yet, but we do not prevent files being
 installed anywhere outside the prefix. port only issues a warning if this
 happens.

 Also, some files reside intentionally in `/Applications` and `/Library`,
 so I assume stopping at ${prefix} would not deactivate them correctly.

 I would say port deactivate should only prune empty directories if it is
 in our mtree.

-- 
Ticket URL: <http://trac.macports.org/ticket/15937#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list