Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: base-files: prefer /usr/local/bin to /usr/bin
Date: Fri, 25 Oct 2019 10:09:44 +0200	[thread overview]
Message-ID: <20191025080944.rqgz3tg0MQ4-gOFtE_Av8Qu4hMPlPW4ZHwNYJ1yn7jE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15783@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

New comment by zdtcd on void-packages repository

https://github.com/void-linux/void-packages/pull/15783#issuecomment-546250770

Comment:
On 2019-10-25 07:41:43 +0000, Helmut Pozimski wrote:
> why?

Convention?

We usually expect to run the binary in /usr/local/bin instead of
/usr/bin if there're binary with same name in both location.

The intend's shown in the old profile code, i.e. we append
/usr/local/bin to PATH before appending /usr/bin.
But, both /bin and /usr/bin is existed in PATH before sourcing
/etc/profile, then the unintentional effect.

I would like to go as far as:

    PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:$PATH

-- 
Danh


  parent reply	other threads:[~2019-10-25  8:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-25  3:53 [PR PATCH] " voidlinux-github
2019-10-25  7:41 ` voidlinux-github
2019-10-25  8:09 ` voidlinux-github [this message]
2019-10-26 14:52 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-26 14:52 ` voidlinux-github
2019-10-29  6:37 ` voidlinux-github
2019-10-29  6:37 ` voidlinux-github
2020-01-12  0:23 ` [PR PATCH] [Closed]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191025080944.rqgz3tg0MQ4-gOFtE_Av8Qu4hMPlPW4ZHwNYJ1yn7jE@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).