Closed pschmitt closed 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.
ziextract
bz2|bzip2
This is actually a bunzip2 issue, it refuses to operate on files whose extension don't match.
bunzip2
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:
apr
: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:
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 matchbz2|bzip2
.This is actually a
bunzip2
issue, it refuses to operate on files whose extension don't match.This is easily fixable by renaming the file just before attempting the extraction. The same is already done for zx packages.
Refs:
apr
package: https://github.com/zdharma-continuum/zinit-packages/blob/main/apr/package.json