summaryrefslogtreecommitdiff
path: root/setup-timezone.in
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2022-11-04 22:00:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2022-11-08 14:59:33 +0000
commit1834fd66a454ceb96478e9e2b0adf9a9cbb7df5a (patch)
tree66c59a033369f339d22a336cf7876ef519826c07 /setup-timezone.in
parent5f31c6266e583cffcc1574aa687fdcb0cd5900cf (diff)
downloadalpine-conf-1834fd66a454ceb96478e9e2b0adf9a9cbb7df5a.zip
setup-timezone: exit with 1 if failed to install tzdata
Diffstat (limited to 'setup-timezone.in')
-rw-r--r--setup-timezone.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-timezone.in b/setup-timezone.in
index 65cfb1b..7556333 100644
--- a/setup-timezone.in
+++ b/setup-timezone.in
@@ -89,7 +89,7 @@ else
apkdel=".setup-timezone"
fi
-$MOCK apk add --quiet $pkg
+$MOCK apk add --quiet $pkg || die "Failed to install tzdata package"
if [ -n "$apkdel" ]; then
trap "$MOCK apk del --quiet $apkdel" EXIT HUP INT TERM