[MacPorts] #43749: Macports install: keep repeating in .profile...

MacPorts noreply at macports.org
Sun May 18 14:32:25 PDT 2014


#43749: Macports install: keep repeating in .profile...
------------------------+--------------------------------
  Reporter:  jul_bsd@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------------------

Comment (by ryandesign@…):

 The code that adds to your shell startup file only runs when you run the
 package installer downloaded from our web site. You should normally only
 need to do that once; thereafter you can use "`sudo port selfupdate`",
 unless your network does not allow rsync traffic.

 The code that adds to your shell startup file knows about the different
 shell startup files that are used by bash and tcsh and tries to pick the
 best one to modify. Also, it does not modify the file if the MacPorts
 prefix is already in your PATH. So perhaps in your case you have multiple
 shell startup files, and MacPorts has picked the wrong one, and it's
 therefore not actually getting into your environment, and therefore
 MacPorts keeps trying to modify the file again?

 If you can suggest any improvement to
 [browser:trunk/base/portmgr/dmg/postflight.in the code that does this],
 please do.

-- 
Ticket URL: <https://trac.macports.org/ticket/43749#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list