diff options
author | phk <phk@FreeBSD.org> | 2003-10-03 19:38:21 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-10-03 19:38:21 +0000 |
commit | 8204819ae138013ef43a81adcddf441b66f8f3e8 (patch) | |
tree | 2b11801a866767d3a596a120d8b96b0fe54e26c8 /etc | |
parent | b954c1afc8f25cca0e7999575988949c368800fc (diff) | |
download | FreeBSD-src-8204819ae138013ef43a81adcddf441b66f8f3e8.zip FreeBSD-src-8204819ae138013ef43a81adcddf441b66f8f3e8.tar.gz |
Only install .k5login if people have not set NO_KERBEROS.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile index e048b0a..6ec12b4 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -95,11 +95,14 @@ distribution: cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${SSL} ${DESTDIR}/etc/ssl .endif +.if !defined(NO_KERBEROS) cd ${.CURDIR}/root; \ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ - dot.cshrc ${DESTDIR}/root/.cshrc; \ + dot.k5login ${DESTDIR}/root/.k5login; +.endif + cd ${.CURDIR}/root; \ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ - dot.k5login ${DESTDIR}/root/.k5login; \ + dot.cshrc ${DESTDIR}/root/.cshrc; \ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ dot.login ${DESTDIR}/root/.login; \ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ |