Commit a4844282 authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-timezone: abort if tzdata does not install

parent a64d6c51
......@@ -30,7 +30,7 @@ valid_tz() {
if ! apk info -q -e tzdata; then
apk add -q tzdata && apkdel="tzdata"
apk add -q tzdata && apkdel="tzdata" || exit 1
zonepath=$(cat /etc/TZ 2>/dev/null)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment