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 dcb65c5a94.

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
This commit is contained in:
Lexi Winter 2025-09-30 07:02:06 +01:00
parent a087b4aec3
commit d31e342bcc

View file

@ -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>