diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2022-11-04 22:00:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-11-08 14:59:33 +0000 |
commit | 1834fd66a454ceb96478e9e2b0adf9a9cbb7df5a (patch) | |
tree | 66c59a033369f339d22a336cf7876ef519826c07 /setup-timezone.in | |
parent | 5f31c6266e583cffcc1574aa687fdcb0cd5900cf (diff) | |
download | alpine-conf-1834fd66a454ceb96478e9e2b0adf9a9cbb7df5a.zip |
setup-timezone: exit with 1 if failed to install tzdata
Diffstat (limited to 'setup-timezone.in')
-rw-r--r-- | setup-timezone.in | 2 |
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 |