Skip to content

Commit

Permalink
- env: path: make sure the local sbin comes before vendor bin
Browse files Browse the repository at this point in the history
we had to build updatedb, which installs to sbin but the vendor's copy
installs in bin.  it makes sense for /usr/local/sbin to be before
/usr/bin in the path, bin vs sbin notwithstanding.  it makes sense for
the /usr/local/ locations to become exhasted first.  the ~/bin and
~/.local/bin locations will still be first if we have our own copy of
something (we don't have a ~/sbin/ or ~/.local/sbin/)
  • Loading branch information
smemsh committed Aug 31, 2024
1 parent 511be29 commit 8447e07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.d/env
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ esetenv TERMINAL ${TERMINAL##*/dev/}

psetenv shell_init_path_generic \
/usr/local/bin \
/bin \
/usr/bin \
/usr/local/sbin \
/bin \
/sbin \
/usr/bin \
/usr/sbin \
;
psetenv LD_LIBRARY_PATH \
Expand Down

0 comments on commit 8447e07

Please sign in to comment.