From 8204819ae138013ef43a81adcddf441b66f8f3e8 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 3 Oct 2003 19:38:21 +0000 Subject: Only install .k5login if people have not set NO_KERBEROS. --- etc/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'etc') 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 \ -- cgit v1.1