From 65750c795bf422d8aa680e6b4aaf213fa218ec14 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 09 Oct 2013 16:11:37 -0400 Subject: tzdata-common: Provide Etc/* -> UTC links. --- (limited to 'build') diff --git a/build b/build index ce0b71b..d1209cf 100755 --- a/build +++ b/build @@ -35,8 +35,13 @@ install: build ln -sf /usr/share/zoneinfo/Universal tzdata-common.data/etc/localtime ln -sf . tzdata-common.data/usr/share/zoneinfo/posix # Install time zones. - for t in $(tables); do \ - grep '^Link' src/$${t} | while read type dest src etc; do \ + for tt in $(tables); do \ + grep '^Link' src/$${tt} | while read type dest src etc; do \ + if [ x"$${dest}" = x'Etc/UTC' ]; then \ + t='common'; \ + else \ + t="$${tt}"; \ + fi; \ rm -f "tzdata-$${t}.data/usr/share/zoneinfo/$${src}"; \ link="$${src}" up=''; \ while [ "$${link#*/}" != "$${link}" ] && \ -- cgit v0.9.1