]> git.proxmox.com Git - dab.git/commit
fix compressor loop-order
authorStoiko Ivanov <s.ivanov@proxmox.com>
Wed, 14 Jul 2021 16:52:04 +0000 (18:52 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 15 Jul 2021 09:29:51 +0000 (11:29 +0200)
commitdf893f5dd7da1c9be0c144f4470d93e3202d7141
tree714f9e0ee369a5ecaf49ca6b1cef502c81960000
parent0bca1545cb4962565820125fc12c029b47316dff
fix compressor loop-order

commit dbac106eb6e3cff405e57c0bb6a6dbe3cf307c52 introduced a flaw in
the logic - once a file is downloaded the 'last;' statement exited the
inner loop iterating over the compoentens instead of the outer one
iterating over the compressors.

since both do not inherently depend on each other simply swap them.

noticed while trying to build a pmg-template in a clean environment
with full repository configuration (before the tests worked due to
leftover files in the infodir)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
DAB.pm