zig
zig copied to clipboard
package manager: handle archives without leading root folder
Instead of striping leading root folder while unpacking tar, tar archive is unpacked as is into temporary directory. Then we check result and decide whether to skip root folder. That allows us to handle archives which don't have that leading root folder.
This if follow up of PR #19090.
Fixes #17779