diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-11-05 19:28:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-11-05 19:28:54 +0000 |
commit | 8cf6b48e8e880cca6833cb6e5be576f600a64bb9 (patch) | |
tree | d879300c5ec0cc4991b2d12964e6b2918d0ef3f3 /setup-alpine.in | |
parent | d1de3c5a190f8ffb2ed8e768dcbfb968a88f5384 (diff) | |
download | alpine-conf-8cf6b48e8e880cca6833cb6e5be576f600a64bb9.tar.bz2 alpine-conf-8cf6b48e8e880cca6833cb6e5be576f600a64bb9.tar.xz |
setup-alpine: sync apk cache after setup
ref #1463
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 |