summaryrefslogtreecommitdiff
path: root/setup-timezone.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2023-01-24 12:08:23 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2023-01-24 12:07:31 +0000
commit04e4624ab54a2c26e03e9df960e1640ceb150ddc (patch)
treeea2832ca6958bcbacbfe627f9c90e526662919b1 /setup-timezone.in
parentd0cb8a74038ae77a35fb52752d8977bae87a6614 (diff)
downloadalpine-conf-04e4624ab54a2c26e03e9df960e1640ceb150ddc.zip
setup-*: use fake apk instead of $MOCK apk
Diffstat (limited to 'setup-timezone.in')
-rw-r--r--setup-timezone.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-timezone.in b/setup-timezone.in
index 01a5e37..2be9321 100644
--- a/setup-timezone.in
+++ b/setup-timezone.in
@@ -89,10 +89,10 @@ else
apkdel=".setup-timezone"
fi
-$MOCK apk add --no-progress --quiet $pkg || die "Failed to install tzdata package"
+apk add --no-progress --quiet $pkg || die "Failed to install tzdata package"
if [ -n "$apkdel" ]; then
- trap "$MOCK apk del --no-progress --quiet $apkdel" EXIT HUP INT TERM
+ trap "apk del --no-progress --quiet $apkdel" EXIT HUP INT TERM
fi
if [ -L "${ROOT}"etc/zoneinfo/localtime ]; then