Commit 0d1a0604 authored by Natanael Copa's avatar Natanael Copa

abuild: fix apk_up2date check

fix check that all subpackages exists, not only main package
parent 799c8d53
......@@ -1622,7 +1622,7 @@ apk_up2date() {
local i s
cd "$startdir"
for i in $pkgname $subpackages; do
[ -f "$PKGDEST/$pkgname-$pkgver-r$pkgrel.apk" ] || return 1
[ -f "$PKGDEST/${i%:*}-$pkgver-r$pkgrel.apk" ] || return 1
done
[ -n "$keep" ] && return 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment