From 04e4624ab54a2c26e03e9df960e1640ceb150ddc Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 24 Jan 2023 12:08:23 +0100 Subject: setup-*: use fake apk instead of $MOCK apk --- setup-alpine.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup-alpine.in') diff --git a/setup-alpine.in b/setup-alpine.in index 2da6312..856b0de 100644 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -268,7 +268,7 @@ diskmode=$(cat /tmp/alpine-install-diskmode.out 2>/dev/null) if [ "$diskmode" != "sys" ]; then setup-lbu ${LBUOPTS} setup-apkcache ${APKCACHEOPTS} - if [ -L /etc/apk/cache ]; then - $MOCK apk cache sync + if [ -L "$ROOT"/etc/apk/cache ]; then + apk cache sync fi fi -- cgit v1.2.3