diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-30 14:20:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-30 14:20:15 +0000 |
commit | 0f27ed17abb2898ad6ef4398c6647d2875a29197 (patch) | |
tree | 615c28c7833d6dd65d184f85d417d13473ffd518 /alpine.packages | |
parent | 88b5a2af368dad792424fb787165f6839e6e37c3 (diff) | |
download | abuild-0f27ed17abb2898ad6ef4398c6647d2875a29197.tar.gz abuild-0f27ed17abb2898ad6ef4398c6647d2875a29197.tar.bz2 abuild-0f27ed17abb2898ad6ef4398c6647d2875a29197.tar.xz abuild-0f27ed17abb2898ad6ef4398c6647d2875a29197.zip |
abuild: fix for apk-tools-2.0.x
apk-tools-2.0's apk index will not show the arch so we need to use
tar to find arch if we have old apk. We prefer use apk index since
it will only read first block of file, regardless size, while tar
will read entire file. Reading entire file is slow if file is big.
So we check apk --version and use tar if needed, and apk index if
possible.
Diffstat (limited to 'alpine.packages')
0 files changed, 0 insertions, 0 deletions