diff options
author | Brad Davis <brd@FreeBSD.org> | 2018-08-15 23:18:34 +0000 |
---|---|---|
committer | Brad Davis <brd@FreeBSD.org> | 2018-08-15 23:18:34 +0000 |
commit | 3349f8bb8f35b9aa39b01b8ccfd88f4e2e21ebb5 (patch) | |
tree | f929de060ce395932d85e5d283353c6d3d7e5a3b /etc/Makefile | |
parent | 799bbc25b9c66ef5b561d9fa63cf3164508c31b4 (diff) | |
download | src-test2-3349f8bb8f35b9aa39b01b8ccfd88f4e2e21ebb5.tar.gz src-test2-3349f8bb8f35b9aa39b01b8ccfd88f4e2e21ebb5.zip |
Notes
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile index be034ee3d0d4..fb60669fbd40 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -135,6 +135,10 @@ distribution: ${DESTDIR}/etc/services; .endif +.if ${MK_TCSH} == "no" + sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd +.endif + pwd_mkdb -i -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd .if defined(NO_ROOT) ( \ echo "./etc/login.conf.db type=file mode=0644 uname=root gname=wheel"; \ @@ -172,6 +176,18 @@ distribution: ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ dot.k5login ${DESTDIR}/root/.k5login; .endif + cd ${.CURDIR}/root; \ + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ + dot.profile ${DESTDIR}/root/.profile; \ + rm -f ${DESTDIR}/.profile; \ + ${INSTALL_LINK} ${DESTDIR}/root/.profile ${DESTDIR}/.profile +.if ${MK_TCSH} != "no" + cd ${.CURDIR}/root; \ + ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ + dot.cshrc ${DESTDIR}/root/.cshrc; \ + rm -f ${DESTDIR}/.cshrc; \ + ${INSTALL_LINK} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc +.endif .if ${MK_MAIL} != "no" cd ${.CURDIR}/mail; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ |