diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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}" ] && \ |