diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-11 10:17:39 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-11 10:17:39 +0200 |
commit | 41ae5b85c49d3982261b4aab7bf072093670f874 (patch) | |
tree | a712640f779d5df9dcf7dff2f3ce8f85ef6789b9 | |
parent | c1a51c0340bf3aceb9fde3eefe9bc189a63f0794 (diff) | |
download | alpine-conf-41ae5b85c49d3982261b4aab7bf072093670f874.tar.bz2 alpine-conf-41ae5b85c49d3982261b4aab7bf072093670f874.tar.xz |
setup-timezone: move /etc/zoneinfo/localtime to /etc/localtime
This is what upstream musl does.
-rw-r--r-- | setup-timezone.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-timezone.in b/setup-timezone.in index 4192465..6964f69 100644 --- a/setup-timezone.in +++ b/setup-timezone.in @@ -53,8 +53,8 @@ setup_tz() { cp "$zonepath" "${ROOT}"etc/zoneinfo/$zdir/ zonepath=/etc/zoneinfo/$zone fi - rm -f "${ROOT}"etc/zoneinfo/localtime - ln -s "$zonepath" "${ROOT}"etc/zoneinfo/localtime + rm -f "${ROOT}"etc/localtime + ln -s "$zonepath" "${ROOT}"etc/localtime } INSTALL_TZDATA=false |