aboutsummaryrefslogtreecommitdiffstats
path: root/misc/zoneinfo
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2009-10-22 05:05:27 +0800
committeredwin <edwin@FreeBSD.org>2009-10-22 05:05:27 +0800
commit86b774eeb7016e04b92b1267c528747791bfa968 (patch)
tree344507e9ded28d0857abc45ce6cae2973d2e721a /misc/zoneinfo
parent8c2a20f6330a58ebf68f5b10ae9016bb2016aec5 (diff)
downloadfreebsd-ports-gnome-86b774eeb7016e04b92b1267c528747791bfa968.tar.gz
freebsd-ports-gnome-86b774eeb7016e04b92b1267c528747791bfa968.tar.zst
freebsd-ports-gnome-86b774eeb7016e04b92b1267c528747791bfa968.zip
Be less, and more, verbose.
Diffstat (limited to 'misc/zoneinfo')
-rw-r--r--misc/zoneinfo/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/zoneinfo/Makefile b/misc/zoneinfo/Makefile
index 42fbfdde83b0..272ad43efe3f 100644
--- a/misc/zoneinfo/Makefile
+++ b/misc/zoneinfo/Makefile
@@ -58,10 +58,11 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/zone.tab ${PREFIX}/share/zoneinfo
post-install:
- if [ -f /var/db/zoneinfo -a -O /var/db/zoneinfo -a \
+ @if [ -f /var/db/zoneinfo -a -O /var/db/zoneinfo -a \
-G /var/db/zoneinfo -a \
-f /usr/share/zoneinfo/$$(cat /var/db/zoneinfo) ]; then \
tzsetup -r; \
+ echo "/etc/localtime is updated."; \
else \
${CAT} ${PKGMESSAGE}; \
fi