diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 09:46:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-23 09:46:36 +0000 |
commit | 53b17143d2414589d2481f60748180dcdb0197f0 (patch) | |
tree | 472d1aa4ddd01ef799318935359cf3b3a843083a /abuild.in | |
parent | c2a0126ea248ea48fe8058ebc543bcbea2e3fbe3 (diff) | |
download | abuild-53b17143d2414589d2481f60748180dcdb0197f0.tar.gz abuild-53b17143d2414589d2481f60748180dcdb0197f0.tar.bz2 abuild-53b17143d2414589d2481f60748180dcdb0197f0.tar.xz abuild-53b17143d2414589d2481f60748180dcdb0197f0.zip |
abuild: use APKINDEX.tar.gz rather than APK_INDEX.gz
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -465,6 +465,7 @@ apkcache() { if ! apk_up2date || [ -n "$force" ]; then sanitycheck && builddeps && clean && fetch && unpack && rootpkg || return 1 fi + local apk mkdir -p "$apkcache" || return 1 cd "$apkcache" @@ -610,7 +611,7 @@ cache_up2date() { local i apk for i in $pkgname $subpackages; do apk="${i%:*}-$pkgver-r$pkgrel.apk" - [ "$apkcache"/APK_INDEX.gz -nt "$apkcache"/$apk ] || return 1 + [ "$apkcache"/APKINDEX.tar.gz -nt "$apkcache"/$apk ] || return 1 done return 0 } |