Re: git: fd1066bed67f - main - .profile: Don't bother checking for /home symlink

From: Brooks Davis <brooks_at_freebsd.org>
Date: Tue, 13 Feb 2024 16:39:21 UTC
On Tue, Feb 13, 2024 at 03:23:13AM +0000, Alexey Dokuchaev wrote:
> On Mon, Feb 12, 2024 at 02:25:48PM +0000, Ed Maste wrote:
> > commit fd1066bed67f642ed01f5dd62b7b6cfb0a45fd4c
> > 
> >   .profile: Don't bother checking for /home symlink
> > 
> >   Since FreeBSD 14.0, user directories are created directly under /home.
> >   This check should no longer be needed.
> > 
> > @@ -19,9 +19,6 @@
> >  # set ENV to a file invoked each time sh is started for interactive use.
> >  ENV=$HOME/.shrc; export ENV
> >  
> > -# Let sh(1) know it's at home, despite /home being a symlink.
> > -if [ "$PWD" != "$HOME" ] && [ "$PWD" -ef "$HOME" ] ; then cd ; fi
> > -
> 
> The installer creates separate /home, individual hackers might want to
> partition their drives the old way as / (root) + /usr (everything else),
> so this check is probably still useful.

Perhaps more likely to be an issue: not all FreeBSD 14 systems started
as fresh installs.

-- Brooks