On 22/04/2021, 'Cameron D' via weewx-development
<[email protected]> wrote:
>
>
> On Thursday, 22 April 2021 at 2:34:11 pm UTC+10 Graham Eddy wrote:
>
>> maybe i did add the PATH mod myself - setting up systems so often for so
>> long that no doubt i do some things without thought…
>>
>
> Likewise - $HOME/bin is a standard setup on my systems - I do recall seeing
> it by default on a new install somewhere, but not sure how common it is.
It's installed as part of the Bash package.
I've got it on the Pi here - admittedly it's a tad old(oldstable)!
It's sourced from ~/.profile, available from /etc/skel/.profile.
On this Pi it's from ...
bash/oldoldstable 4.3-11+deb8u2 armhf [upgradable from: 4.3-11+deb8u1]
GNU Bourne Again SHell
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
--
Cheers
Glenn
rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie
--
You received this message because you are subscribed to the Google Groups
"weewx-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-development/CAAraAzhL-xk%3DCgkXuCeMbOvkboLHJ_Lbvcw-shzUktTYPwczFQ%40mail.gmail.com.