[MacPorts] #25075: postflight script sometimes overwrites conf files

MacPorts noreply at macports.org
Wed Jun 2 06:24:09 PDT 2010


#25075: postflight script sometimes overwrites conf files
------------------------------+---------------------------------------------
 Reporter:  brad@…            |       Owner:  macports-tickets@…                   
     Type:  defect            |      Status:  new                                  
 Priority:  Normal            |   Milestone:                                       
Component:  base              |     Version:                                       
 Keywords:                    |        Port:                                       
------------------------------+---------------------------------------------

Comment(by brad@…):

 Replying to [comment:7 brad@…]:
 > In postflight the update_macports function tries "port -v selfupdate"
 and then upgrade_sources_conf_default.tcl.
 > Since selfupdate fails without a [default] port source why not call the
 script upgrade_sources_conf_default.tcl which attempts to fix missing
 default before "port -v selfupdate"?
 Nevermind. My selfupdate was failing with permission errors not because of
 no default. I see port selfupdate uses last source as default when there
 is no default in sources.conf.

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


More information about the macports-tickets mailing list