zdharma-continuum / zinit

🌻 Flexible and fast ZSH plugin manager
MIT License
3.15k stars 129 forks source link

📦 ziextract should rename .bzip2 files before attempting to extract #105

Closed pschmitt closed 2 years ago

pschmitt commented 2 years ago

While working on https://github.com/zdharma-continuum/zinit-packages/pull/2 I noticed that ziextract does detect bzip2 files correctly but ultimately fails to extract them when their suffix does not match bz2|bzip2.

This is actually a bunzip2 issue, it refuses to operate on files whose extension don't match.

bunzip2: zinit-package-apr: unknown suffix - ignored

This is easily fixable by renaming the file just before attempting the extraction. The same is already done for zx packages.

Refs:

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 3.8.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: