[MacPorts] #36323: Macports should be multiuser friendly
MacPorts
noreply at macports.org
Thu Sep 15 20:01:50 CEST 2016
#36323: Macports should be multiuser friendly
--------------------------+--------------------------------
Reporter: ralph@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.1.2
Resolution: | Keywords:
Port: |
--------------------------+--------------------------------
Comment (by raimue@…):
It is up to the user to make modifications to their environment
(especially `PATH`) in order to use MacPorts. The installer contains the
most common case, modifying the profile of the user running the installer.
And even that only works if they are using the default shell. If you have
more requirements, please set it up yourself. The
[https://guide.macports.org/#installing.shell.postflight guide even
documents] what you should add to `.profile` or `.bash_profile`.
If you run the installer instead of copying from the guide or from the
configuration of your own user, you should first understand what this
shell configuration does. If you prefer to use a script for that, why do
you not just write it?
Furhermore, if you do not want to modify the shell configuration for every
user, why do you not edit the system-wide configuration in `/etc/profile`
or `/etc/bashrc`? MacPorts does not do this as these modifications would
be lost on upgrades of OS X. As a system administrator you have control
over that anyway and can follow your own documentation what needs to be
changed on fresh installs/after upgrades.
As far as I know, the .pkg format is not flexible enough to allow
selection of optional features. Even if, I would not know where we should
add it system-wide as it depends on your use case.
--
Ticket URL: <https://trac.macports.org/ticket/36323#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list