summaryrefslogtreecommitdiff
path: root/setup-timezone.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2022-07-01 11:43:27 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2022-07-01 10:15:32 +0000
commit5e8175705911c1daf54d527b93c2c304afd3c507 (patch)
tree5e02a9037a26181ee2c945f5380a695a1bed9c6d /setup-timezone.in
parenta2b37feaf807b0c8773d41a4157d733328557386 (diff)
downloadalpine-conf-5e8175705911c1daf54d527b93c2c304afd3c507.zip
setup-timezone: exit if 'none' is set as timezone
Diffstat (limited to 'setup-timezone.in')
-rw-r--r--setup-timezone.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup-timezone.in b/setup-timezone.in
index 4f056b4..5c5b139 100644
--- a/setup-timezone.in
+++ b/setup-timezone.in
@@ -77,6 +77,10 @@ if [ -z "$ZONE" ]; then
ZONE="$1"
fi
+if [ "$ZONE" = "none" ]; then
+ exit 0
+fi
+
if $INSTALL_TZDATA; then
pkg=tzdata
apkdel=