mirror of
https://github.com/mudler/luet.git
synced 2025-09-15 23:00:04 +00:00
Isolate common code into a function and also fix a sublte bug hiding in that code. We need to stab a copy of the package inside our PackageMap to avoid having symlinks pointing at the same values when iterating over requires. ( e.g. happened in this case: https://github.com/rancher-sandbox/cOS-toolkit/pull/467#issuecomment-895060115 )