aboutsummaryrefslogtreecommitdiff
path: root/misc/zoneinfo
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2009-10-21 21:05:27 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2009-10-21 21:05:27 +0000
commit98c74397a35cb632b3e01780a959e5f3423209a6 (patch)
tree475289c16fd68f2f2613257d2711f6833646a6ed /misc/zoneinfo
parentb8fe2370f1ef96834ab0be9595fb1935cef96b1c (diff)
downloadports-98c74397a35cb632b3e01780a959e5f3423209a6.tar.gz
ports-98c74397a35cb632b3e01780a959e5f3423209a6.zip
Notes
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