Skip to content
Snippets Groups Projects
Commit 8e25f6d1 authored by alice's avatar alice
Browse files

checkapk: undo broken parallel thing

this doesn't work for setting lvalues and *size= is never populated

todo: write tests.., or just port this to lua
parent e3777a72
No related branches found
No related tags found
No related merge requests found
......@@ -78,10 +78,9 @@ for i in $pkgname $subpackages; do
# For our local repo (newsize) apk info might return multiple packages, e.g. if different
# version of the package where build previously. Filter out this specific pkgver using awk.
newsize=$(apk info --repositories-file /dev/null --repository "$REPODEST"/$repo --size $_pkgname | \
awk "/^${pkg//+/\\+}/ { found = 1 } /^[0-9]+/ { if (found) { print \$0; exit } }") &
awk "/^${pkg//+/\\+}/ { found = 1 } /^[0-9]+/ { if (found) { print \$0; exit } }")
oldsize=$(apk info --repositories-file $tmpdir/repositories --size $_pkgname | \
awk '/^[0-9]+/ { print $0 }' | head -1) &
wait
awk '/^[0-9]+/ { print $0 }' | head -1)
if [ "$oldsize" = "$newsize" ]; then
msg "No size differences for $_pkgname."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment