Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#24105 closed enhancement (wontfix)

ER: MacPorts should install a file into /etc/paths.d

Reported by: sethk@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.8.2
Keywords: shell, path, environment Cc:
Port:

Description

Doesn't it seem sensible that MacPorts should use the path_helper mechanism and install a file into /etc/paths.d, the contents of which could be something like:

/opt/local/bin /opt/local/sbin

This seems much less invasive than modifying the user's shell startup files in their home directory (which also only works for the user that installed MacPorts).

Change History (2)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed

This was already tried back in the 1.7 development cycle (r31491), but there were problems (you can't add directories to the start of the PATH this way for one), so it was dropped (r44261).

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Component: portsbase
Note: See TracTickets for help on using tickets.