On 24Mar2020 17:43, Patrick Dupre <pdupre@gmx.com> wrote:
>This is correct.
>You add a new path to the old path. Then it duplicates the path
No, his script is correct (to do it for all users).
I expect he is running the PATH= command twice - once from
/etc/profile.d, and maybe once in his personal .profile or .bash_profile
or .bashrc.
Cameron Simpson <cs@cskk.id.au