summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-08-11 00:54:30 +0000
committerjkh <jkh@FreeBSD.org>1994-08-11 00:54:30 +0000
commit76b3c1dd38fa5efbcde18b5387fd4d0bdedea906 (patch)
treee297c20c1d7f5eef950fa54e6665a0228cbc292f /share
parent99c532f060e2c4ec8f615c016b06bcfd43d2c1dc (diff)
downloadFreeBSD-src-76b3c1dd38fa5efbcde18b5387fd4d0bdedea906.zip
FreeBSD-src-76b3c1dd38fa5efbcde18b5387fd4d0bdedea906.tar.gz
Add a preventative rm of /etc/localtime in the install rule just in
case it's a link (in which case the subsequent install will fall over). Submitted by: jkh
Diffstat (limited to 'share')
-rw-r--r--share/zoneinfo/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile
index eb7d1b0..a335582 100644
--- a/share/zoneinfo/Makefile
+++ b/share/zoneinfo/Makefile
@@ -130,6 +130,7 @@ right_posix: right_only other_two
install: maninstall ${DATA} ${REDO}
(cd ${.CURDIR}/datfiles && ../obj/zic -d ${TZDIR} -p ${POSIXRULES})
+ rm -f ${DESTDIR}/etc/localtime
install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime
chown -R ${BINOWN}.${BINGRP} ${TZDIR}
OpenPOWER on IntegriCloud