Skip to content

Reorder PATH variable in /etc/profile#4420

Open
rizalmart wants to merge 2 commits intopuppylinux-woof-CE:testingfrom
rizalmart:patch-97296
Open

Reorder PATH variable in /etc/profile#4420
rizalmart wants to merge 2 commits intopuppylinux-woof-CE:testingfrom
rizalmart:patch-97296

Conversation

@rizalmart
Copy link
Copy Markdown
Contributor

@rizalmart rizalmart commented Mar 30, 2026

Make path order aligned with the FHS

Copy link
Copy Markdown
Contributor

@peabee peabee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this suddenly needed when the existing scheme has been working without any problems for a looooong time??
You seem to be giving precedence to /usr/local over the system level lib folders? Why?

@rizalmart
Copy link
Copy Markdown
Contributor Author

To make it fully aligned and compliant with the standard file system hierarchy about path ordering. I noticed the order when I check the $PATH values under pkexec. It go /usr/local first then /usr. also /usr/local is default path for make install command upon compiling source code

@peabee
Copy link
Copy Markdown
Contributor

peabee commented Mar 30, 2026

@techrockedge FYI
I feel that such a significant change might have unintended consequences.
I don't see a need for Puppy to conform and be the same as other distros.
I may open a thread on the forum to describe what you are proposing and to ask if anyone can see problems.
As always you are free to implement example systems with these changes if you want - there are many Woof-CE mechanisms you could use - without imposing the changes on all other Woof-CE builds which are building and running satisfactorily.

@rizalmart
Copy link
Copy Markdown
Contributor Author

I don't see a need for Puppy to conform and be the same as other distros.

However woof-ce uses major distros to build puppy and those major distros follows FHS standard path ordering. Much better if puppy follow the path ordering as close as possible to the mainstream distro.

Also putting /usr/local first makes wrapping, overriding of linux commands easier rather than renaming to "-FULL" suffix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants