Open rmoriz opened 9 years ago
You're very right. There is assumption in the tool that it is looking for tar
, tar.gz
, tgz
, tar.bz2
, tbz
, tar.xz
and txz
.
https://github.com/burtlo/ark/blob/master/libraries/tar_command_builder.rb#L32-L37
So @rmoriz what you are proposing is Ark being able to support:
gz
using the application gunzip
to extract it.xz
using the application xz -d
to extract it.bzip2
using the application bzip2 -d
to extract it.I just bumped into this problem myself (with the exact same file) is there any plan on adding support for none archived compressed files?
I've always inferred that ark
referred to archive files, so this capability would be some scope creep. That's not necessarily a bad thing, but perhaps it would be better to install compressed files with a separate cookbook.
It seems that ark is not able to simply download & extract .gz files (simply gzipped files, no tar.gz archives). Same for .bz2 and .xz
failing example: