summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2011-08-01 20:46:12 -0400
committerJeff Bilyk <jbilyk@gmail.com>2011-08-01 20:46:12 -0400
commit2e2fc6f1b9555ad7353a59246d048eec9b116e9b (patch)
treeed913b7417f3b5f3ce905fc4f979bd434fc78f37
parent192b09a627b37694ad44a974d92bb817d04a0dbb (diff)
downloadalpine-conf-2e2fc6f1b9555ad7353a59246d048eec9b116e9b.zip
setup-apklbu: add an apk cache sync after setting up APK cache
-rwxr-xr-xsetup-apklbu.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup-apklbu.in b/setup-apklbu.in
index ff6d218..a530841 100755
--- a/setup-apklbu.in
+++ b/setup-apklbu.in
@@ -59,6 +59,7 @@ fi
mkdir -p /media/${MOUNTPOINT}/cache || die "Failed to create /media/${MOUNTPOINT}/cache"
ln -s /media/${MOUNTPOINT}/cache /etc/apk/cache || die "Failed to create apk cache softlink"
+apk cache sync
cat > /etc/lbu/lbu.conf <<EOF
# what cipher to use with -e option
DEFAULT_CIPHER=aes-256-cbc