From 4476d06142ee1702d6645a31e1597dcde1538a19 Mon Sep 17 00:00:00 2001 From: cgd Date: Tue, 30 Mar 1993 00:31:52 +0000 Subject: [PATCH] now symlinks /etc/localtime to the right thing, rather than making a copy (or trying to). --- share/zoneinfo/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile index f396a7f9997e..9d9e3d617ed7 100644 --- a/share/zoneinfo/Makefile +++ b/share/zoneinfo/Makefile @@ -131,8 +131,8 @@ right_posix: right_only other_two install: maninstall ${DATA} ${REDO} (cd ${.CURDIR}/datfiles; \ ../obj/zic -d ${TZDIR} -p ${POSIXRULES}) - install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime + /bin/rm -f ${DESTDIR}/etc/localtime + ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime chown -R ${BINOWN}.${BINGRP} ${TZDIR} chmod -R a-w ${TZDIR}