diff options
Diffstat (limited to 'setup-alpine.in')
-rwxr-xr-x | setup-alpine.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/setup-alpine.in b/setup-alpine.in index eb1c6a8..41854b3 100755 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -197,5 +197,8 @@ diskmode=$(cat /tmp/alpine-install-diskmode.out 2>/dev/null) if [ "$diskmode" != "sys" ]; then $PREFIX/sbin/setup-lbu ${LBUOPTS} $PREFIX/sbin/setup-apkcache ${APKCACHEOPTS} + if [ -L /etc/apk/cache ]; then + apk cache sync + fi fi |