Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2025 06:04:09 GMT
From:      Lexi Winter <ivy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d31e342bcc8e - main - sh: Remove /.profile
Message-ID:  <202509300604.58U649cc077723@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=d31e342bcc8e22d7eb25c21a711cd4b8a54db6c0

commit d31e342bcc8e22d7eb25c21a711cd4b8a54db6c0
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-09-30 06:02:06 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-09-30 06:02:06 +0000

    sh: Remove /.profile
    
    root's home directory was moved to /root many years ago, so there's no
    reason to keep this old link.  This brings sh in line with csh, where
    /.cshrc was removed in dcb65c5a94d4.
    
    Relnotes:       yes
    Approved by:    re (cperciva)
    MFC after:      1 day
    PR:             289097
    Reviewed by:    cperciva, jilles, bapt, emaste
    Differential Revision:  https://reviews.freebsd.org/D52161
---
 bin/sh/Makefile | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 916bb88b57fa..dd073a52d23c 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -68,12 +68,3 @@ token.h: mktokens
 
 HAS_TESTS=
 SUBDIR.${MK_TESTS}+= tests
-
-beforeinstallconfig:
-	rm -f ${DESTDIR}/.profile
-
-LINKMODE=${CONFMODE}
-afterinstallconfig:
-	${INSTALL_LINK} ${TAG_ARGS:D${TAG_ARGS},config} ${DESTDIR}/root/.profile ${DESTDIR}/.profile
-
-.include <bsd.prog.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509300604.58U649cc077723>